From 09e1c5a36bf43aff5b447bd9a39413781a2949b6 Mon Sep 17 00:00:00 2001 From: Joseph Tate Date: Fri, 7 Sep 2012 13:19:49 -0400 Subject: [PATCH] Fix ___.ejs undefined problems on IE; see http://forum.javascriptmvc.com/topic/ie-only-errors-view-name-ejs-is-undefined-breaks-loading --- view/ejs/ejs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/ejs/ejs.js b/view/ejs/ejs.js index 5805f71d..e5132159 100644 --- a/view/ejs/ejs.js +++ b/view/ejs/ejs.js @@ -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; };