Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#5813 closed defect (fixed)

dijit/tests/test.html fails: dojo.byId is not a function

Reported by: Adam Peller Owned by:
Priority: high Milestone: 1.1
Component: Dijit Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description


Change History (2)

comment:1 Changed 12 years ago by guest

Isn't a dijit related bug; if I have understood, with debugAtAllCosts = true all the dojo.require() are asynchronous, and the dojo.byId definition (html.js) is evaluated after the <script>...</script>.

Nicola

comment:2 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [12415]) Use dojo.addOnLoad() like all dojo code should, regardless of whether debugAtAllCosts is true or false. Fixes #5813.

Note: See TracTickets for help on using tickets.