Browse Source

Add .js to native script's filename

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
0fcb3bd3a9
  1. 2
      src/node.js

2
src/node.js

@ -98,7 +98,7 @@ var module = (function () {
function loadNative (id) { function loadNative (id) {
var m = new Module(id); var m = new Module(id);
internalModuleCache[id] = m; 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 if (e) throw e; // error compiling native module
return m; return m;
} }

Loading…
Cancel
Save