mirror of https://github.com/webpack/webpack.git
21 lines
642 B
JavaScript
21 lines
642 B
JavaScript
module.exports = function() { throw new Error("define cannot be used indirect"); };
|
|
/*var amdRequire = require("!!./amd-require.js");
|
|
module.exports = function(module) {
|
|
function define(id, dependencies, factory) {
|
|
if(typeof id != "number") {
|
|
factory = dependencies;
|
|
dependencies = id;
|
|
id = null;
|
|
}
|
|
if(!factory) {
|
|
factory = dependencies;
|
|
dependencies = [amdRequire, module.exports, module];
|
|
}
|
|
var result = typeof factory == "function" ? factory.apply(null, dependencies) : factory;
|
|
if(result !== undefined)
|
|
module.exports = result;
|
|
return module.exports;
|
|
}
|
|
define.amd = amdRequire.amd;
|
|
return define;
|
|
}*///
|