Opened 12 years ago
Closed 12 years ago
#9861 closed enhancement (wontfix)
Support CommonJS-style modules in the loader
Reported by: | James Burke | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | Loader | Version: | 1.3.2 |
Keywords: | Cc: | Eugene Lazutkin, Adam Peller | |
Blocked By: | Blocking: |
Description
Allow Dojo to load CommonJS modules. This means at minimum:
- not requiring dojo.provide usage.
- an alias for require = dojo.require
- an alias for exports as the actual module object.
Some complications with debugAtAllCosts is there, but workable.
Only enable via a djConfig switch for now.
Change History (3)
comment:1 Changed 12 years ago by
Cc: | Eugene Lazutkin added |
---|
comment:2 Changed 12 years ago by
Cc: | Adam Peller added |
---|
comment:3 Changed 12 years ago by
Milestone: | 1.4 → future |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I think it is better to pursue a module loading syntax that works best in the browser, the CommonJS stuff is more like our current loaders, but suffers from the downsides of our current loader.