summaryrefslogtreecommitdiff
path: root/src/static/js/ace.js
diff options
context:
space:
mode:
authorChad Weider <cweider@oofn.net>2012-03-10 14:13:08 -0800
committerChad Weider <cweider@oofn.net>2012-03-10 14:39:37 -0800
commit1a1f222221266a20ce1adcf839c581e664f88283 (patch)
tree19990d94ade2420bb8a86d2d8c5e4b5d4b91fa97 /src/static/js/ace.js
parentc6b8beabd3712bab24705597fb5103ba371fac34 (diff)
downloadetherpad-lite-1a1f222221266a20ce1adcf839c581e664f88283.zip
Change paths.
Diffstat (limited to 'src/static/js/ace.js')
-rw-r--r--src/static/js/ace.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/static/js/ace.js b/src/static/js/ace.js
index 9202a014..5707b6b7 100644
--- a/src/static/js/ace.js
+++ b/src/static/js/ace.js
@@ -156,7 +156,7 @@ function Ace2Editor()
}
function pushRequireScriptTo(buffer) {
var KERNEL_SOURCE = '../static/js/require-kernel.js';
- var KERNEL_BOOT = 'require.setRootURI("../minified/");\nrequire.setLibraryURI("../minified/plugins/");\nrequire.setGlobalKeyPath("require");'
+ var KERNEL_BOOT = 'require.setRootURI("../javascripts/src");\nrequire.setLibraryURI("../javascripts/lib");\nrequire.setGlobalKeyPath("require");'
if (Ace2Editor.EMBEDED && Ace2Editor.EMBEDED[KERNEL_SOURCE]) {
buffer.push('<script type="text/javascript">');
buffer.push(Ace2Editor.EMBEDED[KERNEL_SOURCE]);
@@ -166,8 +166,8 @@ function Ace2Editor()
}
function pushScriptsTo(buffer) {
/* Folling is for packaging regular expression. */
- /* $$INCLUDE_JS("../minified/plugins/ep_etherpad-lite/static/js/ace2_inner.js?callback=require.define"); */
- var ACE_SOURCE = '../minified/plugins/ep_etherpad-lite/static/js/ace2_inner.js?callback=require.define';
+ /* $$INCLUDE_JS("../javascripts/src/ace2_inner.js?callback=require.define"); */
+ var ACE_SOURCE = '../javascripts/src/ace2_inner.js?callback=require.define';
if (Ace2Editor.EMBEDED && Ace2Editor.EMBEDED[ACE_SOURCE]) {
buffer.push('<script type="text/javascript">');
buffer.push(Ace2Editor.EMBEDED[ACE_SOURCE]);