diff --git a/Readme.md b/Readme.md index c75daddf..5d7f84c8 100644 --- a/Readme.md +++ b/Readme.md @@ -3,4 +3,4 @@ ACE (Ajax.org Code Editor) ACE is a standalone code editor written in JavaScript. It can be easily embedded in any web page and JavaScript application. It is currently used as the editor component of the [Cloud9 IDE](http://cloud9ide.com). -Checkout the [demo](http://ajaxorg.github.com/ace/editor.html)! +Checkout the [demo](http://ajaxorg.github.com/ace/editor-build.html)! diff --git a/build.js b/build.js index 7f64186e..f3ac5124 100644 --- a/build.js +++ b/build.js @@ -1,7 +1,14 @@ { - baseUrl: "./lib", + baseUrl: "lib", dir: "build", + paths: { + "ace": "ace", + "demo": "../demo", + "cockpit": "../support/cockpit/lib/cockpit", + "pilot": "../support/cockpit/support/pilot/lib/pilot" + }, + //- "closure": uses Google's Closure Compiler in simple optimization //mode to minify the code. //- "closure.keepLines": Same as closure option, but keeps line returns @@ -23,6 +30,13 @@ skipModuleInsertion: false, modules: [ + { + name: "demo/startup", + includeRequire: false, + include: [ + "pilot/fixoldbrowsers" + ] + }, { name: "ace/editor", include: [ @@ -35,7 +49,6 @@ ], includeRequire: false }, - { name: "ace/theme/eclipse", exclude: [ @@ -77,8 +90,8 @@ { name: "ace/mode/python", exclude: [ - "ace/lib/oop", - "ace/lib/lang", + "pilot/oop", + "pilot/lang", "ace/tokenizer", "ace/range", "ace/mode/text" diff --git a/editor-build.html b/editor-build.html new file mode 100644 index 00000000..a66fe3f2 --- /dev/null +++ b/editor-build.html @@ -0,0 +1,208 @@ + + + + + + Editor + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/index.html b/index.html index 542a1579..25089119 100644 --- a/index.html +++ b/index.html @@ -62,7 +62,7 @@

Demo

-Check out the demo. +Check out the demo.

Contact

Fabian Jakobs (fabian.jakobs@web.de)