Ticket #5813 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

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

Reported by: peller Owned by:
Priority: normal Milestone: 1.1
Component: Dijit Version: 1.0
Severity: normal Keywords:
Cc:

Description


Change History

Changed 7 months 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

Changed 7 months ago by bill

  • status changed from new to closed
  • resolution set to fixed

(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.