Opened 12 years ago
Closed 12 years ago
#8213 closed defect (wontfix)
Bug in how dojo build tries to remove dojo.require from user js files
Reported by: | asitowagh | Owned by: | alex |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Loader | Version: | 1.2.1 |
Keywords: | dojo build package scopeMap | Cc: | |
Blocked By: | Blocking: |
Description
See forum thread http://www.dojotoolkit.org/forum/dojo-core-dojo-0-9/dojo-core-support/bug-how-build-tries-remove-dojo-require-js-files for more info.
The regexp to remove require calls for modules that are 'composted' into a layer should either be scope map aware.
Note: See
TracTickets for help on using
tickets.
I am inclined not to try to fix this, since the build is regexp based and I do not want to add this complication to it.
As Pete mentions in the forum thread, you are safe to use dojo.require inside your modules, no need to use my_dojo.require. I suggest taking that path.