Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#838 closed defect (fixed)

fix for running on rhino

Reported by: [email protected] Owned by: James Burke
Priority: high Milestone:
Component: Core Version: 0.3
Keywords: Cc:
Blocked By: Blocking:


This is the error I get:

js: "/home/dsnopek/dojo/src/debug.js", line 16: The undefined value has no properties.

This patch is required to run dojo with the standard Rhino that comes with debian testing and Gentoo. Its a really simple change to dojo.debug(), that just checks that an argument exists before doing "instanceof" against it. Spidermonkey (and of course the browser) has no issue with this line, appearently.

Attachments (1)

debug.js.patch (566 bytes) - added by [email protected] 16 years ago.
The patch.

Download all attachments as: .zip

Change History (5)

Changed 16 years ago by [email protected]

Attachment: debug.js.patch added

The patch.

comment:1 Changed 16 years ago by James Burke

Milestone: 0.3.1
Owner: changed from anonymous to James Burke
Status: newassigned

comment:2 Changed 16 years ago by James Burke

Resolution: fixed
Status: assignedclosed

David, I just checked the debug.js that is in the latest SVN, and this change is already in place. Can you confirm? What version of Dojo are you using?

comment:3 Changed 16 years ago by [email protected]

I am using the 0.3.0 release. I guess I should upgrade to the SVN!

comment:4 Changed 15 years ago by (none)

Milestone: 0.3.1

Milestone 0.3.1 deleted

Note: See TracTickets for help on using tickets.