fixed require.amd/define.amd

This commit is contained in:
Tobias Koppers 2012-08-07 21:39:38 +02:00
parent bb1752204e
commit 9ba89ab5ff
3 changed files with 3 additions and 3 deletions

View File

@ -11,6 +11,6 @@ module.exports = function(module, req) {
}
return module.exports = fn.apply(module.exports, requires);
}
define.amd = true;
define.amd = {};
return define;
}

View File

@ -8,6 +8,6 @@ module.exports = function(req) {
}
for(var name in req)
amdRequire[name] = req[name];
amdRequire.amd = true;
amdRequire.amd = {};
return amdRequire;
}

View File

@ -1,6 +1,6 @@
{
"name": "webpack",
"version": "0.5.2",
"version": "0.5.3",
"author": "Tobias Koppers @sokra",
"description": "Packs CommonJs/AMD Modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loading of js, json, jade, coffee, css, ... out of the box and more with custom loaders.",
"dependencies": {