diff options
author | Chad Weider <cweider@oofn.net> | 2012-03-10 13:59:07 -0800 |
---|---|---|
committer | Chad Weider <cweider@oofn.net> | 2012-03-10 14:39:37 -0800 |
commit | 648603126b7d9ab87cb9b19b5422d936dc2536f4 (patch) | |
tree | 5cdc2019b30ccdf51185d36b234cd77aa782afba /src/static | |
parent | ee312672d307e3bcc981b952dc2a4ff88d5c2d08 (diff) | |
download | etherpad-lite-648603126b7d9ab87cb9b19b5422d936dc2536f4.zip |
Remove require changes in `pushScriptsTo` method.
These duplicate `pushRequireScriptTo` at least, but mostly break things.
Diffstat (limited to 'src/static')
-rw-r--r-- | src/static/js/ace.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/static/js/ace.js b/src/static/js/ace.js index 4114b63c..7331d68d 100644 --- a/src/static/js/ace.js +++ b/src/static/js/ace.js @@ -176,10 +176,6 @@ function Ace2Editor() } else { file = ACE_SOURCE; file = file.replace(/^\.\.\/static\/js\//, '../minified/'); - buffer.push('<script type="text/javascript" src="../static/js/require-kernel.js"><\/script>'); - buffer.push('<script type="text/javascript">'); - buffer.push('require.setRootURI("../minified/"); require.setLibraryURI("../minified/plugins/"); require.setGlobalKeyPath("require");'); - buffer.push('<\/script>'); buffer.push('<script type="application/javascript" src="' + ACE_SOURCE + '"><\/script>'); buffer.push('<script type="text/javascript">'); buffer.push('require("ep_etherpad-lite/static/js/ace2_inner");'); |