comment out broken packaged demo
This commit is contained in:
parent
b12016c6bc
commit
053309a7ba
1 changed files with 38 additions and 38 deletions
|
|
@ -272,41 +272,41 @@ copy({
|
|||
});
|
||||
|
||||
// copy complex demo
|
||||
copy({
|
||||
source: aceHome + "/editor.html",
|
||||
filter: [ function(data) {
|
||||
var includes = [
|
||||
"ace", "cockpit",
|
||||
"keybinding-vim", "keybinding-emacs",
|
||||
"mode-javascript", "mode-css", "mode-html", "mode-php", "mode-python",
|
||||
"mode-xml",
|
||||
"theme-clouds", "theme-clouds_midnight", "theme-cobalt",
|
||||
"theme-dawn", "theme-idle_fingers", "theme-kr_theme",
|
||||
"theme-mono_industrial", "theme-monokai", "theme-pastel_on_dark",
|
||||
"theme-twilight"
|
||||
].map(function(module) {
|
||||
return '<script src="src/' + module + '.js" type="text/javascript"></script>';
|
||||
}).join("\n");
|
||||
return (
|
||||
data.replace('<script src="demo/require.js" type="text/javascript" charset="utf-8"></script>', includes)
|
||||
.replace('<script src="demo/boot.js" type="text/javascript"></script>', '<script src="demo/demo.js" type="text/javascript"></script>\n<script>require("demo").launch()</script>')
|
||||
)
|
||||
} ],
|
||||
dest: "build/editor-demo.html"
|
||||
});
|
||||
copy({
|
||||
source: [{
|
||||
root: aceHome + '/demo',
|
||||
include: "demo.js"
|
||||
}],
|
||||
filter: [ copy.filter.moduleDefines ],
|
||||
dest: "build/demo/demo.js"
|
||||
});
|
||||
copy({
|
||||
source: aceHome + '/demo/styles.css',
|
||||
dest: "build/demo/styles.css"
|
||||
});
|
||||
copy({
|
||||
source: aceHome + '/demo/logo.png',
|
||||
dest: "build/demo/logo.png"
|
||||
});
|
||||
//copy({
|
||||
// source: aceHome + "/editor.html",
|
||||
// filter: [ function(data) {
|
||||
// var includes = [
|
||||
// "ace", "cockpit",
|
||||
// "keybinding-vim", "keybinding-emacs",
|
||||
// "mode-javascript", "mode-css", "mode-html", "mode-php", "mode-python",
|
||||
// "mode-xml",
|
||||
// "theme-clouds", "theme-clouds_midnight", "theme-cobalt",
|
||||
// "theme-dawn", "theme-idle_fingers", "theme-kr_theme",
|
||||
// "theme-mono_industrial", "theme-monokai", "theme-pastel_on_dark",
|
||||
// "theme-twilight"
|
||||
// ].map(function(module) {
|
||||
// return '<script src="src/' + module + '.js" type="text/javascript"></script>';
|
||||
// }).join("\n");
|
||||
// return (
|
||||
// data.replace('<script src="demo/require.js" type="text/javascript" charset="utf-8"></script>', includes)
|
||||
// .replace('<script src="demo/boot.js" type="text/javascript"></script>', '<script src="demo/demo.js" type="text/javascript"></script>\n<script>require("demo").launch()</script>')
|
||||
// )
|
||||
// } ],
|
||||
// dest: "build/editor-demo.html"
|
||||
//});
|
||||
//copy({
|
||||
// source: [{
|
||||
// root: aceHome + '/demo',
|
||||
// include: "demo.js"
|
||||
// }],
|
||||
// filter: [ copy.filter.moduleDefines ],
|
||||
// dest: "build/demo/demo.js"
|
||||
//});
|
||||
//copy({
|
||||
// source: aceHome + '/demo/styles.css',
|
||||
// dest: "build/demo/styles.css"
|
||||
//});
|
||||
//copy({
|
||||
// source: aceHome + '/demo/logo.png',
|
||||
// dest: "build/demo/logo.png"
|
||||
//});
|
||||
Loading…
Add table
Add a link
Reference in a new issue