From 5d7a1734a47e48d0adf3cacdbe895501c21b30cd Mon Sep 17 00:00:00 2001 From: Sofian Benaissa Date: Tue, 20 Mar 2012 22:12:42 -0400 Subject: [PATCH] Added outer.js and outer.css for custom theming and scripting of middle iframe --- bin/installDeps.sh | 2 +- static/js/ace.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/installDeps.sh b/bin/installDeps.sh index b72d8a370..a8bfd5fcd 100755 --- a/bin/installDeps.sh +++ b/bin/installDeps.sh @@ -96,7 +96,7 @@ rm -f var/minified* echo "ensure custom css/js files are created..." -for f in "index" "pad" "timeslider" "inner" +for f in "index" "pad" "timeslider" "inner" "outer" do if [ ! -f "static/custom/$f.js" ]; then cp -v "static/custom/js.template" "static/custom/$f.js" || exit 1 diff --git a/static/js/ace.js b/static/js/ace.js index d2fcfd10c..a77906024 100644 --- a/static/js/ace.js +++ b/static/js/ace.js @@ -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