Opened 6 years ago

Closed 6 years ago

#17676 closed defect (invalid)

on used before it is defined in dojo.js

Reported by: Brett van de Sande Owned by:
Priority: undecided Milestone: tbd
Component: Core Version: 1.9.2
Keywords: Cc:
Blocked By: Blocking:

Description

The error and the stack look like this:

ReferenceError {info: "on is not defined"}          dojo.js:1849
(anonymous function)                                dojo.js:1849
(anonymous function)                                dojo.js:332
forEach                                             dojo.js:93
req.signal                                          dojo.js:331
onEvent                                             dojo/ready.js:52
processQ                                            dojo/domReady.js:50
detectReady                                         dojo/domReady.js:63
info: on is not defined                             dojo.js:1852

Looking at the code, it appears that the function on is used before it is defined. If necessary, i can provide a test page URL that produces this error.

Change History (3)

comment:1 Changed 6 years ago by Brett van de Sande

Here is an example (sorry it is so big): http://gideon.eas.asu.edu/web-UI-test/test-case.html

comment:2 Changed 6 years ago by Brett van de Sande

Nevermind: The "on" was from my own code. Please close this.

comment:3 Changed 6 years ago by bill

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.