Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#12199 closed enhancement (fixed)

include simulated AMD define function in v1.x sync loader

Reported by: Rawld Gill Owned by: Rawld Gill
Priority: high Milestone: 1.6
Component: Loader Version: 1.6.0b1
Keywords: AMD Cc: Kris Zyp
Blocked By: Blocking:


Enchance the v1.x sync loader (dojo/_base/_loader/loader.js) to define the global function define that simulates the AMD define API. This allows v1.x to load AMD modules along side dojo.provide/require modules. The implementation is intended to be an 80% effort--not a 100% compliant implementation. In particular, it does not implement

  • package configurations
  • plugins
  • real asynchronous operation
  • resolving the names of implied module IDs

Also, the build utility does not support this function and it is stripped during the build process.

Report other limitations to this ticket.

Change History (3)

comment:1 Changed 11 years ago by Rawld Gill

Owner: changed from anonymous to Rawld Gill
Status: newassigned

The build utility is currently passing the simulated define API as well as calling the function from some of the bootstrap resources (e.g., hostenv_browser). All AMD artifacts must be stripped during a v1.6 build.

comment:2 Changed 11 years ago by Kenneth G. Franqueiro

Resolution: fixed
Status: assignedclosed

[23633] indicates it fixes this issue. (Commit message eluded Trac's sensor)

comment:3 Changed 11 years ago by bill

Component: GeneralLoader
Note: See TracTickets for help on using tickets.