Browse Source

m.id unneccessary, id is enough.

v0.7.4-release
Herbert Vojčík 14 years ago
committed by Ryan Dahl
parent
commit
6abbfa09ff
  1. 2
      src/node.js

2
src/node.js

@ -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;

Loading…
Cancel
Save