tag:envjs.lighthouseapp.com,2008-12-14:/projects/21590-envjs/eventsenvjs / envjs Events2011-02-18T15:22:25Ztag:envjs.lighthouseapp.com,2008-12-14:Event/304469022014-12-04T14:10:47-10:002014-12-04T14:10:47-10:00Alex Goldbergenvjs: Problem with DOM updates [#198]<div><p>I am using rhino/envjs (1.2.13).<br>
When new elements are dynamically added to DOM using JS append
method for example, they can be seen by calling text() on parent
elements, but can't be located directly by using
document.getElementById or similar jquery methods. It seems like
DOM index does not get updated. I did verify that the same code
works as expected in a browser.<br>
Is this a known issue with envjs?<br>
Any work around that can be suggested?</p>
<p>Thanks.<br>
Alex.</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/271315942013-12-10T03:28:13-10:002013-12-10T03:28:13-10:00Jānis Elmerisenvjs: Setter function "body" must have one argument [#197]<div><p>JavaScript-C 1.8.5 2011-03-31 (<a href=
"https://developer.mozilla.org/en-US/docs/SpiderMonkey/Introduction_to_the_JavaScript_shell">https://developer.mozilla.org/en-US/docs/SpiderMonkey/Introduction_...</a>)
says:</p>
<p>env.js:6280: SyntaxError: setter functions must have one
argument:<br>
env.js:6280: set body() {<br>
env.js:6280: .............^</p>
<p>Should be replaced by something like set "body(newValue)".</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/211549942012-08-30T19:25:23-10:002012-08-30T19:25:23-10:00wstoneenvjs: env.rhino.1.2.js can not parse ldap.html [#196]<div><p>test code:</p>
<p>load("env.rhino.1.2.js");<br>
load('jquery-1.8.1.js');</p>
<p>Envjs({<br>
scriptTypes: {</p>
<pre>
<code>'': true, //anonymous and inline
'text/javascript': true</code>
</pre>
<p>} });</p>
<p>window.location = '<a>file:///./ldap.html</a>';</p>
<p>$(function() { $('a[href]').each(function() {</p>
<pre>
<code>var href = $(this).attr('href');
console.log(":href:" + href);</code>
</pre>
<p>}); });</p>
<p>console.log("OK");</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/199731232012-06-13T15:18:28-10:002012-06-13T15:19:38-10:00Kai Hackemesserenvjs: setting window.location = ... hangs [#195]<div><p>Using Rhino 1.7R3 with env.rhino.1.2.js.</p>
<p>The problem: When the loaded web page contains a script having
an endless timer loop (setTimeout calling a method that itself sets
another timer), the following call is not returning:</p>
<p>context.evaluateString(scope, "window.location='" + url + "'",
"", 0, null);</p>
<p>As an example here's a script block of the file I tried to
load:</p>
<p><script type="text/javascript"></p>
<pre>
<code>var observer;
fail("bad luck");
function fail(message) {
if (typeof observer == 'undefined') {
console.info("fail - wait for observer");
setTimeout(function() {
fail(message);
}, 1000);
return;
}
observer.notify();
}</code>
</pre>
<p></script></p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/199683302012-06-13T10:00:57-10:002012-06-13T10:00:58-10:00Alex Vincentenvjs: Envjs.loadLocalScript ignores HTMLBaseElement href [#194]<div><p>is ignored for script loading purposes.</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/197617932012-05-31T07:49:09-10:002012-05-31T07:49:14-10:00Bryan Castilloenvjs: Attempting form.submit() causes ReferenceError, "__submit__" is not defined. [#173]<li>Milestone order changed from <em class="change">“0”</em> to <em class="change">“0”</em></li>
<div><p>I am seeing this error as well.</p>
<p>It looks to me like there is a bug. I looked at
env.rhino.1.2.js.</p>
<p>I see that there is a local variable <strong>submit</strong>
created within an anonymous block and used in the definition of
HTMLFormElement.prototype.submit for html.1.2.13.
<strong>submit</strong> would not be visible outside of that
anonymous function.</p>
<p>6473: * Envjs html.1.2.13<br>
<a>6479://CLOSURE_START</a><br>
7263:var <strong>submit</strong> = function(element){<br>
8722: var event = <strong>submit</strong>(this);<br>
<a>10761://CLOSURE_END</a></p>
<p>Later on in xhr.1.2.13 HTMLFormElement.prototype.submit is reset
and <strong>submit</strong> is used again, but it is not
visible.</p>
<p>12337: * Envjs xhr.1.2.13<br>
<a>12343://CLOSURE_START</a><br>
12414: var event = <strong>submit</strong>(this),<br>
<a>13190://CLOSURE_END</a></p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/188071462012-04-02T23:25:33-10:002012-04-02T23:25:35-10:00Chris Clarkeenvjs: __trim__ Function not available from Envjs.setCookie Method [#178]<div><p>Hi,</p>
<p>We're getting the same issue too. Copying the
<strong>trim</strong> function in the closure as Gabriel describes
fixed for us too.</p>
<p>When is this going to be fixed please?</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/186409642012-03-23T04:33:43-10:002012-03-23T04:33:43-10:00Falk Lehmannenvjs: First option of select is not selected [#193]<div><p>I am trying to get the selected element of a dropdown using
jquery:</p>
<p>jquery('select').val()</p>
<p>In every browser (FF11, Chrome1x, IE9) this function returns 0,
even if no element was selected manually, in the code or in the
HTML markup.<br>
EnvJS returns -1 which may be correct, as no element was previoulsy
selected, but differs from the behaviour of all tested
browsers.</p>
<p>Any chance of changing this?</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/175069882012-01-15T17:43:56-10:002012-01-15T17:43:56-10:00Mingenvjs: Thread [Rhino - 1] (suspended on exception: Wrapped java.net.URISyntaxException: Illegal character in authority at index 7: [#192]<div><p>Hi,<br>
I’m new to javascript and also envjs. I use Rhino as script
engine under Windows XP.<br>
My test script is very simple:<br>
load (libs_path + 'json2.js');<br>
load (libs_path + 'env.rhino.1.2.13.js');<br>
Envjs.scriptTypes['text/javascript'] = true;<br>
window.location = '<a href=
"http://localhost:8080/'">http://localhost:8080/'</a>;</p>
<p>console.log ("Done..");<br>
I got into problem when executing<br>
window.location = '<a href=
"http://localhost:8080/'">http://localhost:8080/'</a>;</p>
<p>Seems that there is issue dealing with file path under XP when
it tries to create a simple file for cookies. Is there a way around
this??</p>
<p>=======</p>
<p>[ Envjs/1.6 (Rhino; U; Windows XP x86 5.1; en-US; rv:1.7.0.rc2)
Resig/20070309 PilotFish/1.2.13 ] ---- Stack --- Thread [Rhino - 1]
(suspended on exception: Wrapped java.net.URISyntaxException:
Illegal character in authority at index 7: file://C:\Documents and
Settings\Ming/.cookies
(C:\workspace\client\scripts\libs\env.rhino.1.2.13.js#1457))<br></p>
<pre>
<code>file:/C:/workspace/client/scripts/libs/env.rhino.1.2.13.js - line: 1457
file:/C:/workspace/client/scripts/libs/env.rhino.1.2.13.js - line: 302
file:/C:/workspace/client/scripts/libs/env.rhino.1.2.13.js - line: 419
file:/C:/workspace/client/scripts/libs/env.rhino.1.2.13.js - line: 13085
file:/C:/workspace/client/scripts/libs/env.rhino.1.2.13.js - line: 13140
file:/C:/workspace/client/scripts/libs/env.rhino.1.2.13.js - line: 12958
file:/C:/workspace/client/scripts/libs/env.rhino.1.2.13.js - line: 13814
file:/C:/workspace/client/scripts/example/simple.js - line: 12</code>
</pre>
<p>=====================================</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/163235122011-11-02T22:17:28-10:002011-11-02T22:17:30-10:00Sylvain Dehorsenvjs: __trim__ Function not available from Envjs.setCookie Method [#178]<div><p>Hello<br>
I've encountered the same pb. Any updates ?</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/160084382011-10-17T11:57:46-10:002011-10-17T11:57:46-10:00Richard Cyganiakenvjs: XMLSerializer omits namespace prefixes for namespaced elements [#191]<div><p>I'm trying to use XMLSerializer in Env.js to write SVG files.
SVG makes use of XML namespaces.</p>
<p>XMLSerializer mostly works fine for namespaced XML. It emits
xmlns declarations present in the DOM tree, and declares a
namespace for every namespaced element.</p>
<p>But it doesn't handle namespaced attributes. It just emits the
attribute name, ignoring the fact that it has a namespace.</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/159308992011-10-12T10:16:26-10:002011-10-12T10:16:33-10:00s4meenvjs: Cannot parse pre tags [#176]<div><p>additional info:<br>
Rhino 1.7, Envjs/1.6 jQuery 1.4.1</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/159308342011-10-12T10:13:43-10:002011-10-12T10:13:49-10:00s4meenvjs: Cannot parse pre tags [#176]<div><p>Using jQuery JavaScript Library v1.4.1, having the similar
problem, I don't get the JavascriptException,</p>
<ol>
<li>window.location='SOME HTTP page containing PRE tags wrapped in
DIV';<br></li>
<li>no exception at this point<br></li>
<li>
<p>$('div.SOME_ID').html() returns<br></p>
<p>...</p>
<div class="SOME_ID">... <----- missing PRE tag</div>
</li>
</ol></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/143111022011-07-07T19:45:42-10:002011-07-07T19:45:43-10:00chilicatenvjs: Modernizr doesn't work in a Rhino/Envjs environment [#190]<div><p>It apears that modernizer doesn't work in this environment.
Below you find the stack trace:</p>
<p>TypeError: Cannot read property "offsetTop" from undefined
(Z:\github\jschilicat\sf-dist\intellij-test-project.\src\main\lib\modernizr.js#269)</p>
<p>at
script(Z:\github\jschilicat\sf-dist\intellij-test-project.\src\main\lib\modernizr.js:269)<br>
at
script(Z:\github\jschilicat\sf-dist\intellij-test-project.\src\main\lib\modernizr.js:104)<br>
at
script(Z:\github\jschilicat\sf-dist\intellij-test-project.\src\main\lib\modernizr.js:255)<br>
at
script(Z:\github\jschilicat\sf-dist\intellij-test-project.\src\main\lib\modernizr.js:251)<br>
at
script(Z:\github\jschilicat\sf-dist\intellij-test-project.\src\main\lib\modernizr.js:25)</p>
<p>any idea what that could be?</p>
<p>thank you<br>
Daniel</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/132667272011-05-05T17:20:07-10:002011-05-05T17:20:07-10:00Thatcher[Changeset] envjs: Changeset [d37e05e0cdcf11a1841c7bf1af4f1e6e8e782b01] by thatcher<div><p>more assertion focused on dom level 1 node interface<br>
<a href=
"https://github.com/thatcher/env-js/commit/d37e05e0cdcf11a1841c7bf1af4f1e6e8e782b01">
https://github.com/thatcher/env-js/commit/d37e05e0cdcf11a1841c7bf1a...</a></p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/132661592011-05-05T15:58:06-10:002011-05-05T15:58:06-10:00Thatcher[Changeset] envjs: Changeset [3e77e93d646e10fd9a1f613feccb487c68a700f2] by thatcher<div><p>refactoring dom tests, added several hundred assertion focused
on dom level 1<br>
<a href=
"https://github.com/thatcher/env-js/commit/3e77e93d646e10fd9a1f613feccb487c68a700f2">
https://github.com/thatcher/env-js/commit/3e77e93d646e10fd9a1f613fe...</a></p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/131646512011-04-29T10:17:24-10:002011-04-29T10:17:25-10:00Rishik Dharenvjs: Tag 1.3.pre1 Ant Build Failure on rhino-env target [#189]<div><p>I checked out the master branch and ran the build. Then I tried
the tag and ran the build for some reason they are both failing. I
know the reason but fixing that leads to more failures: (See In
Attachment: Ant Build Log # Run 1)</p>
<p>env-js/specs/platform/rhino.js has invalid path to
dependencies</p>
<p><a href="/projects/21590/tickets/5" title="Ticket #5">#5</a>
load('dist/platform/core.js'); <a href="/projects/21590/tickets/6"
title="Ticket #6">#6</a> load('dist/platform/rhino.js'); <a href=
"/projects/21590/tickets/7" title="Ticket #7">#7</a>
load('dist/console.js');</p>
<p>/dist should actually point to envjs folder. I fixed it here but
that lead to more problems. (See In Attachment: Ant Build Log # Run
2)</p>
<p>I don't have the time or expertise to fix the problem at the
moment, would appreciate if someone could point me to the fix.</p>
<p>Thanks,<br>
Rishik</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/131299032011-04-27T17:04:42-10:002011-04-27T17:04:42-10:00Thatcher[Changeset] envjs: Changeset [0d0e1c880c299373053bd5657ac03e64e684aa57] by thatcher<div><p>updated spec outlines for 1.3 focusing on html5 spec<br>
<a href=
"https://github.com/thatcher/env-js/commit/0d0e1c880c299373053bd5657ac03e64e684aa57">
https://github.com/thatcher/env-js/commit/0d0e1c880c299373053bd5657...</a></p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/131077972011-04-26T16:23:34-10:002011-04-26T16:23:34-10:00Thatcher[Changeset] envjs: Changeset [7501ce9b52aefa25b98a7b4f182a3677b960b039] by thatcher<div><p>updated spec outlines for 1.3<br>
<a href=
"https://github.com/thatcher/env-js/commit/7501ce9b52aefa25b98a7b4f182a3677b960b039">
https://github.com/thatcher/env-js/commit/7501ce9b52aefa25b98a7b4f1...</a></p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/131077862011-04-26T16:22:08-10:002011-04-26T16:22:08-10:00Thatcher[Changeset] envjs: Changeset [eff5ff7d6ce636cef85866010ea245e247e3bc28] by thatcher<div><p>adding sizzle for document.querySelectorAll support<br>
<a href=
"https://github.com/thatcher/env-js/commit/eff5ff7d6ce636cef85866010ea245e247e3bc28">
https://github.com/thatcher/env-js/commit/eff5ff7d6ce636cef85866010...</a></p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/130610432011-04-23T07:20:05-10:002011-04-23T07:20:10-10:00Gimmienvjs: Cannot parse pre tags [#176]<div><p>Apart form patching QUnit, is there a workaround to make Envjs
usable in conjunction with QUnit?</p>
<p>IMHO This bug should be hight priority.</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/129059122011-04-13T20:23:16-10:002011-04-13T20:23:16-10:00Wasimenvjs: load('jquery.js'); [#188]<div><p>Hi I am trying to load('jquery.js') with env.js</p>
<p>I have this code for you</p>
<p>js>
load('/var/www/js/rhino1_7R2/thatcher-env-js-cb738b9/rhino/env.rhino.js');<br>
INFO: [Thu Apr 14 2011 11:39:45 GMT+0530 (IST)] {ENVJS}
Initializing Window History. INFO: [Thu Apr 14 2011 11:39:45
GMT+0530 (IST)] {ENVJS} Loading Cookies js>
load('/var/www/js/rhino1_7R2/thatcher-env-js-cb738b9/rhino/jquery-1.3.2.js');<br>
js:
"/var/www/js/rhino1_7R2/thatcher-env-js-cb738b9/rhino/jquery-1.3.2.js",
line 19: uncaught JavaScript runtime exception: TypeError: Cannot
read property "compareDocumentPosition" from null<br></p>
<pre>
<code>at /var/www/js/rhino1_7R2/thatcher-env-js-cb738b9/rhino/jquery-1.3.2.js:19
at /var/www/js/rhino1_7R2/thatcher-env-js-cb738b9/rhino/jquery-1.3.2.js:19
at /var/www/js/rhino1_7R2/thatcher-env-js-cb738b9/rhino/jquery-1.3.2.js:12</code>
</pre>
<p>env.rhino.js is getting loaded but why jquery is giving me
runtime error</p>
<p>I tried with every jquery version...</p>
<p>Please if you could help me out of this....</p>
<p>Thanks in Advance</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/125849482011-03-28T04:45:17-10:002011-03-28T04:45:19-10:00pmoriartyenvjs: Cannot parse pre tags [#176]<div><p>This is causing problems integrating with the latest QUnit which
uses the PRE tag in results.</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/124047542011-03-17T03:50:15-10:002011-03-17T03:50:16-10:00nospamenvjs: Can't find method java.io.FilterInputStream.read([C,number,number) [#187]<div><p>I traced this down to Envjs.connection (env.js#1631) being
executed after an<br>
exception was not handled properly. If the else (#1614) branch was
taken, the<br>
outstream and buffer are of type Writer, but the instream (#1628)
is of type<br>
InputStream.</p>
<p>1605: try{<br>
1606: //console.log('contentEncoding %s', contentEncoding);<br>
1607: if( contentEncoding.equalsIgnoreCase("gzip") ||<br>
1608: contentEncoding.equalsIgnoreCase("decompress")){<br>
1609: //zipped content<br>
1610: binary = true;<br>
1611: outstream = new java.io.ByteArrayOutputStream();<br>
1612: buffer =<br>
java.lang.reflect.Array.newInstance(java.lang.Byte.TYPE, 1024);<br>
1613: instream = new<br>
java.util.zip.GZIPInputStream(connection.getInputStream())<br>
1614: }else{<br>
1615: //this is a text file<br>
1616: outstream = new java.io.StringWriter();<br>
1617 buffer =
java.lang.reflect.Array.newInstance(java.lang.Character.TYPE,
1024);<br>
1618: instream = new
java.io.InputStreamReader(connection.getInputStream());<br>
1619: }<br>
1620: }catch(e){<br>
1621: if (connection.getResponseCode() == 404){<br>
1622: console.log('failed to open connection stream \n %s %s',<br>
1623: e.toString(), e);<br>
1624: }else{<br>
1625: console.log('failed to open connection stream \n %s %s',<br>
1626: e.toString(), e);<br>
1627: }<br>
1628: instream = connection.getErrorStream();<br>
1629: }<br>
1630:<br>
1631: while ((length = instream.read(buffer, 0, 1024)) != -1) {<br>
1632: outstream.write(buffer, 0, length);<br>
1633: }</p>
<p>The fix is to insert these after <a href=
"/projects/21590/tickets/1628" title="Ticket #1628">#1628</a>:</p>
<p>1628: instream = connection.getErrorStream();<br></p>
<pre>
<code> if (!binary) {
outstream = new java.io.ByteArrayOutputStream();
buffer =</code>
</pre>
<p>java.lang.reflect.Array.newInstance(java.lang.Byte.TYPE,
1024);<br></p>
<pre>
<code> }</code>
</pre>
<p>1629: }</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/121771462011-03-04T08:34:11-10:002011-03-04T08:34:11-10:00Thatcher[Changeset] envjs: Changeset [ac0812880433e0f4580400704bd1b848e022cfb2] by thatcher<div><p>improved this example to demonstrate a simple web crawler with
envjs<br>
<a href=
"https://github.com/thatcher/env-js/commit/ac0812880433e0f4580400704bd1b848e022cfb2">
https://github.com/thatcher/env-js/commit/ac0812880433e0f4580400704...</a></p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/121771242011-03-04T08:32:57-10:002011-03-04T08:32:57-10:00Thatcher[Changeset] envjs: Changeset [1a94a428549ac1e968a9636451bd4ded1d85c576] by thatcher<div><p>still working on the testing outline and stubs. ian hickson is
pretty thorough.<br>
<a href=
"https://github.com/thatcher/env-js/commit/1a94a428549ac1e968a9636451bd4ded1d85c576">
https://github.com/thatcher/env-js/commit/1a94a428549ac1e968a963645...</a></p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/121313452011-03-02T07:42:18-10:002011-03-02T07:42:18-10:00Thatcher[Changeset] envjs: Changeset [f2dcd092d7f6ae8f54b24ed205d5a0a0177f173b] by thatcher<div><p>removed keep-alive header for node xhr bridge<br>
<a href=
"https://github.com/thatcher/env-js/commit/f2dcd092d7f6ae8f54b24ed205d5a0a0177f173b">
https://github.com/thatcher/env-js/commit/f2dcd092d7f6ae8f54b24ed20...</a></p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/121313012011-03-02T07:40:17-10:002011-03-02T07:40:17-10:00Thatcher[Changeset] envjs: Changeset [357ba40667e87ab3f162cf92aadf53815e063563] by thatcher<div><p>inital framework for wtf.js, which will be broken out to its own
project. wtf.js is going to be a qunit test suite which covers dom
1 to html 5 compliance (think w3c-ish test framework)<br>
<a href=
"https://github.com/thatcher/env-js/commit/357ba40667e87ab3f162cf92aadf53815e063563">
https://github.com/thatcher/env-js/commit/357ba40667e87ab3f162cf92a...</a></p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/120388102011-02-24T21:43:34-10:002011-02-24T21:44:12-10:00Shaun Elliottenvjs: problem loading script from Rhino [#186]<div><p>The following code yields the following error, I'm not sure if
it is Rhino or the envjs script (other scripts work fine).</p>
<pre>
<code class="java">Context cx = Context.enter();
Scriptable scope = cx.initStandardObjects( null );
String scriptText = "";
scriptText += "var manager = new Packages.javax.script.ScriptEngineManager(); ";
scriptText += "var engine = manager.getEngineByName( \"js\" ); ";
String scriptFile = "/temp/env.rhino.1.2.js";
scriptText += "var eval = engine.eval( new Packages.java.io.FileReader( new Packages.java.io.File( \"" + scriptFile + "\" ) ) ) ";
cx.evaluateString( scope, scriptText, "script", 1, null );</code>
</pre>
<p>Error\Exception:<br>
Exception in thread "main" org.mozilla.javascript.WrappedException:
Wrapped javax.script.ScriptException:
sun.org.mozilla.javascript.internal.EvaluatorException: missing :
after property id (<a href="/projects/21590/tickets/2121" title=
"Ticket #2121">#2121</a>) in at line number 2121 (script#1)<br></p>
<pre>
<code>at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1773)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:183)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
at org.mozilla.javascript.ScriptRuntime.callSpecial(ScriptRuntime.java:2350)
at org.mozilla.javascript.optimizer.OptRuntime.callSpecial(OptRuntime.java:165)
at org.mozilla.javascript.gen.c1._c0(script:1)
at org.mozilla.javascript.gen.c1.call(script)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
at org.mozilla.javascript.gen.c1.call(script)
at org.mozilla.javascript.gen.c1.exec(script)
at org.mozilla.javascript.Context.evaluateString(Context.java:1104)
at com.test.RhinoTest.main(RhinoTest.java:46)</code>
</pre>
<p>Caused by: javax.script.ScriptException:
sun.org.mozilla.javascript.internal.EvaluatorException: missing :
after property id (<a href="/projects/21590/tickets/2121" title=
"Ticket #2121">#2121</a>) in at line number 2121<br></p>
<pre>
<code>at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:110)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:232)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
... 11 more</code>
</pre>
<p>When I load the file in the Rhino console it works just
fine.</p></div>tag:envjs.lighthouseapp.com,2008-12-14:Event/119206502011-02-18T05:22:25-10:002011-02-18T05:22:25-10:00Thatcher[Changeset] envjs: Changeset [b8cbfa8ff65b10b46d3bb47887f6a7f37d838418] by thatcher<div><p>incremented build id and made zip the default target until the
test refactoring is complete<br>
<a href=
"https://github.com/thatcher/env-js/commit/b8cbfa8ff65b10b46d3bb47887f6a7f37d838418">
https://github.com/thatcher/env-js/commit/b8cbfa8ff65b10b46d3bb4788...</a></p></div>