Ticket #5091 (closed defect: fixed)
debugAtAllCosts: true makes modules loaded twice
| Reported by: | jfcunat | Owned by: | jburke |
|---|---|---|---|
| Priority: | high | Milestone: | 1.1 |
| Component: | Core | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When you add debugAtAllCosts true in a djConfig, some modules are loaded twice and it causes some problems. Try dijit/tests/test_ColorPalette.html with IE6 with a non builded Dojo, and add a debug in dojo.provide function, you will see that we go twice in many modules.
It makes a problem with templated Widget because function called by dojo.addOnUnload is executed twice and makes an error the second time. file _Templated.js line 253 It causes a problem on the _destroyElement on IE 6
Change History
Note: See
TracTickets for help on using
tickets.