Permalink
Browse files

Version 0.3.5

  • Loading branch information...
1 parent 7015de8 commit dc31e8c5c7216757c100b88d64c34a0cbcdf0031 @rbackhouse rbackhouse committed Jul 6, 2012
@@ -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.4
+Bundle-Version: 0.3.5
@@ -352,13 +352,13 @@ var define;
req.idle = function() {
return pageLoaded;
};
- req.on = function(type, cb) {
+ req.on = function(type, callback) {
if (type === "idle") {
- if (pageLoaded) {
- callback();
- } else {
- readyCallbacks.push(callback);
- }
+ if (pageLoaded) {
+ callback();
+ } else {
+ readyCallbacks.push(callback);
+ }
} else {
console.log("Unsupported 'on' type ["+type+"]");
}

0 comments on commit dc31e8c

Please sign in to comment.