Opened 12 years ago

Closed 12 years ago

#2748 closed task (fixed)

Port loader_xd.js to 0.9

Reported by: James Burke Owned by: James Burke
Priority: high Milestone: 0.9beta
Component: Loader Version: 0.4.2
Keywords: Cc:
Blocked By: Blocking:

Description

Need to bring over xd loader for 0.9

Change History (9)

comment:1 Changed 12 years ago by James Burke

(In [8760]) Refs #2748. In process of porting loader_xd.js to 0.9. Not working yet (particularly for i18n)

comment:2 Changed 12 years ago by James Burke

(In [8761]) Refs #2748. In process of porting loader_xd.js to 0.9. Not working yet (particularly for i18n)

comment:3 Changed 12 years ago by James Burke

(In [9006]) Refs #2748. Getting xd loader working. Not quite there yet.

comment:4 Changed 12 years ago by James Burke

(In [9007]) Refs #2748. Getting xd loader working. Not quite there yet.

comment:5 Changed 12 years ago by James Burke

(In [9060]) Refs #2748. Include dojo.i18n in dojo.xd.js. Otherwise, the logic was getting complicated to dynamically load it, and wait to process requireLocalization calls after it is loaded. With dojo.i18n included, dojo.xd.js gzipped is 27146 vs. 25477 without it (dojo.js is 23062 gzipped).

comment:6 Changed 12 years ago by James Burke

(In [9061]) Refs #2748. Include dojo.i18n in dojo.xd.js. Otherwise, the logic was getting complicated to dynamically load it, and wait to process requireLocalization calls after it is loaded. With dojo.i18n included, dojo.xd.js gzipped is 27146 vs. 25477 without it (dojo.js is 23062 gzipped).

comment:7 Changed 12 years ago by James Burke

(In [9063]) Refs #2748. hostenv_browser does some djConfig setup, so need to include loader_xd.js after it. Also put the hostenv files inside the dojo guard.

comment:8 Changed 12 years ago by James Burke

(In [9112]) Refs #2748. turns out loader_xd.js needs to be before hostenv_browser, since hostenv_browser does a dojo.require for the debug stuff.

comment:9 Changed 12 years ago by James Burke

Resolution: fixed
Status: newclosed

Basic work is done. I'll open more specific bugs as they are found in testing.

Note: See TracTickets for help on using tickets.