diff --git a/src/node.js b/src/node.js index 647bb30cd8..094219b5a2 100644 --- a/src/node.js +++ b/src/node.js @@ -98,7 +98,7 @@ var module = (function () { function loadNative (id) { var m = new Module(id); internalModuleCache[id] = m; - var e = m._compile(natives[id], id); + var e = m._compile(natives[id], id+".js"); if (e) throw e; // error compiling native module return m; }