#738 closed defect (fixed)
Can't load dojo in rhino jar that comes with dojo
Reported by: | James Burke | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Core | Version: | 0.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Doing the following causes an error:
java -jar buildscripts/lib/js.jar
Rhino 1.5 release 3 2002 01 27 js> load('dojo.js') js: "/home/pic/.../dojo/dojo.js", line 37: uncaught JavaScript? exception: ConversionError?: The undefined value has no properties. (/home/pic/.../dojo/dojo.js; line 37) js>
Note: See
TracTickets for help on using
tickets.
Fixed in r4060. Apparently typeof thisPackages? returns "object" instead of function, at least for this rhino version. I added this check for the rhino detection.