From b20b86cdc8d536be6caa17f1d5feac298c51c852 Mon Sep 17 00:00:00 2001 From: Egil Moeller Date: Tue, 28 Feb 2012 17:52:30 +0100 Subject: [PATCH] Partial bugfix --- src/static/js/ace.js | 6 ++++-- src/static/js/pad_editbar.js | 4 ++-- src/static/timeslider.html | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/static/js/ace.js b/src/static/js/ace.js index 3f64e19fd..610aa33b1 100644 --- a/src/static/js/ace.js +++ b/src/static/js/ace.js @@ -218,7 +218,7 @@ function Ace2Editor() } function pushRequireScriptTo(buffer) { var KERNEL_SOURCE = '../static/js/require-kernel.js'; - var KERNEL_BOOT = 'require.setRootURI("../minified/");\nrequire.setGlobalKeyPath("require");' + var KERNEL_BOOT = 'require.setRootURI("../minified/");\nrequire.setLibraryURI("../minified/plugins/");\nrequire.setGlobalKeyPath("require");' if (Ace2Editor.EMBEDED && Ace2Editor.EMBEDED[KERNEL_SOURCE]) { buffer.push('