From 357ca73a998b4a76450321ae43cef2c40ffacb55 Mon Sep 17 00:00:00 2001 From: Egil Moeller Date: Wed, 30 May 2012 10:00:36 +0200 Subject: [PATCH] Bugfix for bug introduced by 96ab3dc3b46a0f5d02d8ddb64d7ba2dcdb6b8aa6: jQuery is packaged - this is pure duplication. --- src/static/js/ace.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/static/js/ace.js b/src/static/js/ace.js index 26d6c0eb..600b6136 100644 --- a/src/static/js/ace.js +++ b/src/static/js/ace.js @@ -239,10 +239,6 @@ require.setGlobalKeyPath("require");\n\ iframeHTML.push(doctype); iframeHTML.push(""); - hooks.callAll("aceInitInnerdocbodyHead", { - iframeHTML: iframeHTML - }); - // calls to these functions ($$INCLUDE_...) are replaced when this file is processed // and compressed, putting the compressed code from the named file directly into the // source here. @@ -277,6 +273,11 @@ require.setGlobalKeyPath("require");\n\ iframeHTML.push('<\/script>'); iframeHTML.push(''); + + hooks.callAll("aceInitInnerdocbodyHead", { + iframeHTML: iframeHTML + }); + iframeHTML.push(' '); // Expose myself to global for my child frame.