<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Making BSF and Rhino work</title>
	<atom:link href="http://tech.puredanger.com/index.php/2007/01/03/making-bsf-and-rhino-work/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.puredanger.com/2007/01/03/making-bsf-and-rhino-work/</link>
	<description>Alex Miller&#039;s technical blog</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:39:50 -0800</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>By: Ming Li</title>
		<link>http://tech.puredanger.com/2007/01/03/making-bsf-and-rhino-work/comment-page-1/#comment-185341</link>
		<dc:creator>Ming Li</dc:creator>
		<pubDate>Sat, 30 Jan 2010 03:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2007/01/03/making-bsf-and-rhino-work/#comment-185341</guid>
		<description>Hey, great stuff...

Got the code running and realized that all Browser-releated javascript is not supported...

e.g.   alert(&quot;haha&quot;);    will not work.</description>
		<content:encoded><![CDATA[<p>Hey, great stuff&#8230;</p>
<p>Got the code running and realized that all Browser-releated javascript is not supported&#8230;</p>
<p>e.g.   alert(&#8220;haha&#8221;);    will not work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Linda</title>
		<link>http://tech.puredanger.com/2007/01/03/making-bsf-and-rhino-work/comment-page-1/#comment-2625</link>
		<dc:creator>Linda</dc:creator>
		<pubDate>Mon, 16 Apr 2007 19:30:10 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2007/01/03/making-bsf-and-rhino-work/#comment-2625</guid>
		<description>Hi,

I am trying to use BSF and Rhino in my project also. So far, I already passed the stage described in this blog. 

But because my business logic is complicate, I would like to separate them into functions declared in different javascript files. Then I just call the functions in my main.js file. 

For example I have a myJS.js file in which I declare:

function func1() {
  return 1;
}

function func2( param) {
return 2;
}

Then in my main.js, I tried 
load(&quot;myJS.js&quot;) 

But it failed. The error messags says: Couldn&#039;t open file myJS.js.

Have you tried anything similar?


Thanks

Linda</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am trying to use BSF and Rhino in my project also. So far, I already passed the stage described in this blog. </p>
<p>But because my business logic is complicate, I would like to separate them into functions declared in different javascript files. Then I just call the functions in my main.js file. </p>
<p>For example I have a myJS.js file in which I declare:</p>
<p>function func1() {<br />
  return 1;<br />
}</p>
<p>function func2( param) {<br />
return 2;<br />
}</p>
<p>Then in my main.js, I tried<br />
load(&#8220;myJS.js&#8221;) </p>
<p>But it failed. The error messags says: Couldn&#8217;t open file myJS.js.</p>
<p>Have you tried anything similar?</p>
<p>Thanks</p>
<p>Linda</p>
]]></content:encoded>
	</item>
</channel>
</rss>

