Add .js to native script's filename

pull/5370/head
Ryan Dahl 2010-10-12 11:54:45 -07:00
parent c4636a578c
commit 0fcb3bd3a9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}