From 80c9d9c948ebf9fff19281a49f9a24b08a9f6bc5 Mon Sep 17 00:00:00 2001 From: Sofian Benaissa Date: Tue, 20 Mar 2012 22:16:01 -0400 Subject: [PATCH] use relative paths for custom/inner.* and outer.* --- static/js/ace.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/ace.js b/static/js/ace.js index a77906024..188ef8e42 100644 --- a/static/js/ace.js +++ b/static/js/ace.js @@ -265,8 +265,8 @@ function Ace2Editor() pushScriptsTo(iframeHTML); iframeHTML.push(''); - iframeHTML.push(''); - iframeHTML.push(''); + iframeHTML.push(''); + iframeHTML.push(''); iframeHTML.push(' '); // Expose myself to global for my child frame. @@ -287,7 +287,7 @@ function Ace2Editor() // bizarrely, in FF2, a file with no "external" dependencies won't finish loading properly // (throbs busy while typing) - outerHTML.push('', '\x3cscript>\n', outerScript.replace(/<\//g, '<\\/'), '\n\x3c/script>', '
x
'); + outerHTML.push('', '\x3cscript>\n', outerScript.replace(/<\//g, '<\\/'), '\n\x3c/script>', '
x
'); var outerFrame = document.createElement("IFRAME"); outerFrame.frameBorder = 0; // for IE