m.id unneccessary, id is enough.

This commit is contained in:
Herbert Vojčík authored and Ryan Dahl committed 2010-09-16 13:44:16 -07:00
1 parent bcad5403d6
commit 6abbfa09ff
1 file changed
+1 -1
+1 -1
View File
@@ -85,7 +85,7 @@ function requireNative (id) {
+ nativeSource[id] + nativeSource[id]
+ "\n});"; + "\n});";
var compiledWrapper = process.compile(wrapper, m.id); var compiledWrapper = process.compile(wrapper, id);
compiledWrapper.apply(m.exports, [m.exports, requireNative, m]); compiledWrapper.apply(m.exports, [m.exports, requireNative, m]);
m.loaded = true; m.loaded = true;