mirror of https://github.com/webpack/webpack.git
fixed require.amd/define.amd
This commit is contained in:
parent
bb1752204e
commit
9ba89ab5ff
|
|
@ -11,6 +11,6 @@ module.exports = function(module, req) {
|
|||
}
|
||||
return module.exports = fn.apply(module.exports, requires);
|
||||
}
|
||||
define.amd = true;
|
||||
define.amd = {};
|
||||
return define;
|
||||
}
|
||||
|
|
@ -8,6 +8,6 @@ module.exports = function(req) {
|
|||
}
|
||||
for(var name in req)
|
||||
amdRequire[name] = req[name];
|
||||
amdRequire.amd = true;
|
||||
amdRequire.amd = {};
|
||||
return amdRequire;
|
||||
}
|
||||
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue