summaryrefslogtreecommitdiff
path: root/src/static
diff options
context:
space:
mode:
authorEgil Moeller <egil.moller@freecode.no>2012-05-30 10:00:36 +0200
committerEgil Moeller <egil.moller@freecode.no>2012-05-30 10:00:36 +0200
commit357ca73a998b4a76450321ae43cef2c40ffacb55 (patch)
tree808526a7c81f3d81a09558dedcbb58401898888c /src/static
parentdfd81b79d48d50e35bf794ce1f5d3a412e68706e (diff)
downloadetherpad-lite-357ca73a998b4a76450321ae43cef2c40ffacb55.zip
Bugfix for bug introduced by 96ab3dc3b46a0f5d02d8ddb64d7ba2dcdb6b8aa6: jQuery is packaged - this is pure duplication.
Diffstat (limited to 'src/static')
-rw-r--r--src/static/js/ace.js9
1 files 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("<html><head>");
- 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('<style type="text/css" title="dynamicsyntax"></style>');
+
+ hooks.callAll("aceInitInnerdocbodyHead", {
+ iframeHTML: iframeHTML
+ });
+
iframeHTML.push('</head><body id="innerdocbody" class="syntax" spellcheck="false">&nbsp;</body></html>');
// Expose myself to global for my child frame.