From 3312387b0850a51afb1831e05aa4672539ae47a8 Mon Sep 17 00:00:00 2001 From: Chad Weider Date: Sun, 9 Sep 2012 13:05:45 -0700 Subject: [PATCH] Drop embedding of modules. With loopback removed, embedding concatenated resources doesn't happen. It was a marginal feature to begin with so it will not be missed. --- src/static/js/ace.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/static/js/ace.js b/src/static/js/ace.js index d7414c17..4d720f59 100644 --- a/src/static/js/ace.js +++ b/src/static/js/ace.js @@ -173,22 +173,6 @@ require.setGlobalKeyPath("require");\n\ throw new Error("Require script could not be embedded."); } } - function pushScriptsTo(buffer) { - /* Folling is for packaging regular expression. */ - /* $$INCLUDE_JS("../javascripts/lib/ep_etherpad-lite/static/js/ace2_inner.js?callback=require.define"); */ - /* $$INCLUDE_JS("../javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define"); */ - var ACE_SOURCE = '../javascripts/lib/ep_etherpad-lite/static/js/ace2_inner.js?callback=require.define'; - var ACE_COMMON = '../javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define'; - if (Ace2Editor.EMBEDED && Ace2Editor.EMBEDED[ACE_SOURCE]) { - buffer.push('