diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-10-12 11:54:45 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-10-12 11:54:45 -0700 |
commit | 0fcb3bd3a9f585562c5b421314c206c9438f6cef (patch) | |
tree | d56d283387dd3b26bd7a6c6e45fdb04ded241187 /src/node.js | |
parent | c4636a578cee61a8a3b570146e168f7dffec9998 (diff) | |
download | node-new-0fcb3bd3a9f585562c5b421314c206c9438f6cef.tar.gz |
Add .js to native script's filename
Diffstat (limited to 'src/node.js')
-rw-r--r-- | src/node.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |