From 0fcb3bd3a9f585562c5b421314c206c9438f6cef Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 12 Oct 2010 11:54:45 -0700 Subject: [PATCH] Add .js to native script's filename --- src/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }