diff --git a/boot/boot.js b/boot/boot.js index 0be9aa274..3754ebf3d 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -397,7 +397,7 @@ $tw.utils.evalGlobal = function(code,context,filename) { // Compile the code into a function var fn; if($tw.browser) { - fn = window["eval"](code); + fn = window["eval"](code + "\n\n//# sourceURL=" + filename); } else { fn = vm.runInThisContext(code,filename); }