Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#3583 closed defect (fixed)

debugAtAllCosts variant

Reported by: Dustin Machi Owned by: James Burke
Priority: high Milestone: 1.0
Component: Core Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

Alex suggests a "reload in debug mode" feature in which you basically set a cookie with the files that need to be included in the right order and then if we see that cookie, we document.write the out its contents as script tags.

Change History (5)

comment:1 Changed 12 years ago by bill

Milestone: 0.91.1
Owner: changed from anonymous to James Burke

comment:2 Changed 12 years ago by James Burke

I still prefer the approach I used with the xdomain loader, but it requires the user of dojo.addOnLoad(). The plus side is that it works the first time, and you don't have to do reloads to get it to work. I think I could get it to work pretty quickly: if debugAtAllCosts is true, then load loader_xd.js (if it is not already), then load another support file that does the rest of the work (like how it was done for 0.4.3).

comment:3 Changed 12 years ago by James Burke

Milestone: 1.11.0

comment:4 Changed 12 years ago by James Burke

Resolution: fixed
Status: newclosed

(In [10478]) Fixes #3583. Introduces debugAtAllCosts support via dynamically loading loader_xd.js and a debug support file. Requires use of dojo.addOnLoad() to work.

comment:5 Changed 12 years ago by James Burke

Resolution: fixed

(In [10479]) Fixes #3583. Introduces debugAtAllCosts support via dynamically loading loader_xd.js and a debug support file. Requires use of dojo.addOnLoad() to work.

Note: See TracTickets for help on using tickets.