Browse files

Version 0.4.0

  • Loading branch information...
1 parent 7f9afad commit b825985ce10b890924b040cf02b8b174c0a732ee @rbackhouse rbackhouse committed Aug 29, 2012
View
2 org.dojotoolkit.optimizer.amd/META-INF/MANIFEST.MF
@@ -2,4 +2,4 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: AMD Optimizer
Bundle-SymbolicName: org.dojotoolkit.optimizer.amd;singleton:=true
-Bundle-Version: 0.3.8
+Bundle-Version: 0.4.0
View
6 org.dojotoolkit.optimizer.amd/loader/amd/zazl.js
@@ -401,7 +401,7 @@ var define;
} else {
args = [];
}
- modules[id] = {id: id, exports: {}, args: args, deploaded: {}, dependencies: dependencies};
+ modules[id] = {id: id, exports: {}, args: args, deploaded: {}, dependencies: dependencies, config: function() { return cfg.config[id]; }};
if (isFunction(factory)) {
var scancjs = cfg ? cfg.scanCJSRequires : false;
if (scancjs) {
@@ -508,6 +508,7 @@ var define;
cfg.injectUrl = cfg.injectUrl || "_javascript";
cfg.scanCJSRequires = cfg.scanCJSRequires || false;
cfg.debug = cfg.debug || false;
+ cfg.config = cfg.config || {};
}
};
@@ -587,6 +588,9 @@ var define;
document.addEventListener("DOMContentLoaded", function() {
domLoaded = true;
+ if (modulesLoaded) {
+ processQueues();
+ }
}, false);
if (!require) {
View
BIN org.dojotoolkit.optimizer.servlet/org/dojotoolkit/optimizer/servlet/JSHandler.class
Binary file not shown.
View
BIN org.dojotoolkit.optimizer.servlet/org/dojotoolkit/optimizer/servlet/JSURLGenerator.class
Binary file not shown.
View
BIN ...dojotoolkit.optimizer.servlet/org/dojotoolkit/optimizer/servlet/SyncLoaderJSHandler.class
Binary file not shown.
View
BIN ....servlet/org/dojotoolkit/optimizer/servlet/osgi/ZazlServicesTracker$ResourceServlet.class
Binary file not shown.
View
BIN org.dojotoolkit.optimizer/org/dojotoolkit/optimizer/JSAnalysisDataImpl.class
Binary file not shown.

0 comments on commit b825985

Please sign in to comment.