From cc06a6365494c2be0aae9acb399659e59956d9fc Mon Sep 17 00:00:00 2001 From: Sofian Benaissa Date: Tue, 20 Mar 2012 22:02:53 -0400 Subject: [PATCH] Added inner.js and inner.css for custom theming and scripting of innermost iframe --- bin/installDeps.sh | 2 +- static/js/ace.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/installDeps.sh b/bin/installDeps.sh index 270ec98cd..b72d8a370 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" +for f in "index" "pad" "timeslider" "inner" 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 22d4eaa6e..d2fcfd10c 100644 --- a/static/js/ace.js +++ b/static/js/ace.js @@ -265,6 +265,8 @@ function Ace2Editor() pushScriptsTo(iframeHTML); iframeHTML.push(''); + iframeHTML.push(''); + iframeHTML.push(''); iframeHTML.push(' '); // Expose myself to global for my child frame.