diff --git a/src/node.js b/src/node.js index 60e90c6798..2abcc28150 100644 --- a/src/node.js +++ b/src/node.js @@ -85,7 +85,7 @@ function requireNative (id) { + nativeSource[id] + "\n});"; - var compiledWrapper = process.compile(wrapper, m.id); + var compiledWrapper = process.compile(wrapper, id); compiledWrapper.apply(m.exports, [m.exports, requireNative, m]); m.loaded = true;