amdefine
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -123,5 +123,7 @@ /** vim: et:ts=4:sw=4:sts=4 | ||
//Wait for next tick to call back the require call. | ||
process.nextTick(function () { | ||
callback.apply(null, deps); | ||
}); | ||
if (callback) { | ||
process.nextTick(function () { | ||
callback.apply(null, deps); | ||
}); | ||
} | ||
} | ||
@@ -128,0 +130,0 @@ } |
{ | ||
"name": "amdefine", | ||
"description": "Provide AMD's define() API for declaring modules in the AMD format", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"homepage": "http://github.com/jrburke/amdefine", | ||
"author": "James Burke <jrburke@gmail.com> (http://github.com/jrburke)", | ||
"licenses": [ | ||
{ | ||
"type": "BSD", | ||
"url": "https://github.com/jrburke/amdefine/blob/master/LICENSE" | ||
}, | ||
{ | ||
"type": "MIT", | ||
"url": "https://github.com/jrburke/amdefine/blob/master/LICENSE" | ||
} | ||
], | ||
"license": "BSD-3-Clause AND MIT", | ||
"repository": { | ||
@@ -18,0 +9,0 @@ "type": "git", |
@@ -62,3 +62,3 @@ # amdefine | ||
#### Why distribute AMD-style nodes via npm? | ||
#### Why distribute AMD-style modules via npm? | ||
@@ -65,0 +65,0 @@ npm has a lot of weaknesses for front-end use (installed layout is not great, |
292
20428