diff --git a/build.js b/build.js
index f3ac5124..f36f6851 100644
--- a/build.js
+++ b/build.js
@@ -15,6 +15,7 @@
//in the minified files.
//- "none": no minification will be done.
optimize: "closure.keepLines",
+ //optimize: "none",
inlineText: true,
useStrict: false,
@@ -31,6 +32,18 @@
modules: [
{
+ name: "demo/boot",
+ include: [
+ "pilot/fixoldbrowsers",
+ "pilot/plugin_manager",
+ "pilot/settings",
+ "pilot/environment",
+ "pilot/index",
+ "cockpit/index",
+ "demo/startup"
+ ]
+ },
+ /*{
name: "demo/startup",
includeRequire: false,
include: [
@@ -48,7 +61,7 @@
"ace/theme/textmate"
],
includeRequire: false
- },
+ },*/
{
name: "ace/theme/eclipse",
exclude: [
diff --git a/demo/boot.js b/demo/boot.js
index c8de55ae..36bcb00f 100644
--- a/demo/boot.js
+++ b/demo/boot.js
@@ -36,24 +36,16 @@
* ***** END LICENSE BLOCK ***** */
var config = {
- packagePaths: {
- "../support/cockpit/lib": [
- { name: "cockpit", main: "index", lib: "." }
- ],
- "../support/cockpit/support/pilot/lib": [
- { name: "pilot", main: "index", lib: "." }
- ]
- },
paths: {
demo: "../demo",
- ace: "../lib/ace"
+ ace: "../lib/ace",
+ cockpit: "../support/cockpit/lib/cockpit",
+ pilot: "../support/cockpit/support/pilot/lib/pilot"
}
};
-var deps = [ "pilot/fixoldbrowsers", "pilot/plugin_manager", "pilot/settings",
- "pilot/environment", "demo/startup" ];
-
-require(config, deps, function() {
+require(config, ["pilot/fixoldbrowsers", "pilot/plugin_manager", "pilot/settings",
+"pilot/environment", "demo/startup"], function() {
var catalog = require("pilot/plugin_manager").catalog;
catalog.registerPlugins([ "pilot/index", "cockpit/index" ]).then(function() {
var env = require("pilot/environment").create();
diff --git a/editor-build.html b/editor-build.html
index a66fe3f2..e6008471 100644
--- a/editor-build.html
+++ b/editor-build.html
@@ -197,11 +197,10 @@ echo $output;
-
-
+