Permalink
Browse files

Fixing @ sourceUrl for IE

  • Loading branch information...
1 parent fd3167c commit 473930190a7bc1a6a208e6063d0c045c55386bf6 @daffl daffl committed Oct 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 view/ejs/ejs.js
View
@@ -528,7 +528,7 @@ steal('jquery/view', 'jquery/lang/string/rsplit').then(function( $ ) {
out: 'try { with(_VIEW) { with (_CONTEXT) {' + template + " "+finishTxt+"}}}catch(e){e.lineNumber=null;throw e;}"
};
//use eval instead of creating a function, b/c it is easier to debug
- myEval.call(out, 'this.fn = (function(_CONTEXT,_VIEW){' + out.out + '});\r\n//@ sourceURL=' + name + ".js");
+ myEval.call(out, 'this.fn = (function(_CONTEXT,_VIEW){' + out.out + '});\r\n//@ sourceURL="' + name + '.js"');
return out;
};

0 comments on commit 4739301

Please sign in to comment.