mirror of https://github.com/lukechilds/node.git
Browse Source
This reverts commit 9967c369c9
.
Conflicts:
test/simple/test-module-loading.js
v0.7.4-release
isaacs
14 years ago
10 changed files with 4 additions and 116 deletions
@ -1,3 +0,0 @@ |
|||||
define(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, function(r, e, m) { |
|
||||
exports.ok = require("./regular.js").ok; |
|
||||
}); |
|
@ -1,3 +0,0 @@ |
|||||
define(function(require, exports, module) { |
|
||||
module.exports = { ok: require("./regular.js").ok }; |
|
||||
}); |
|
@ -1 +0,0 @@ |
|||||
define({ ok: require("./regular.js").ok }); |
|
@ -1,14 +0,0 @@ |
|||||
var R = require; |
|
||||
var E = exports; |
|
||||
var M = module; |
|
||||
|
|
||||
define(function(require, exports, module, nothingHere) { |
|
||||
if (R !== require) throw new Error("invalid require in AMD cb"); |
|
||||
if (E !== exports) throw new Error("invalid exports in AMD cb"); |
|
||||
if (M !== module) throw new Error("invalid module in AMD cb"); |
|
||||
if (nothingHere !== undefined) { |
|
||||
throw new Error("unknown args to AMD cb"); |
|
||||
} |
|
||||
|
|
||||
exports.ok = { ok: true }; |
|
||||
}); |
|
@ -1,3 +0,0 @@ |
|||||
define(function() { |
|
||||
return { ok: require("./regular.js").ok }; |
|
||||
}); |
|
Loading…
Reference in new issue