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 complex demo
|
||||||
copy({
|
//copy({
|
||||||
source: aceHome + "/editor.html",
|
// source: aceHome + "/editor.html",
|
||||||
filter: [ function(data) {
|
// filter: [ function(data) {
|
||||||
var includes = [
|
// var includes = [
|
||||||
"ace", "cockpit",
|
// "ace", "cockpit",
|
||||||
"keybinding-vim", "keybinding-emacs",
|
// "keybinding-vim", "keybinding-emacs",
|
||||||
"mode-javascript", "mode-css", "mode-html", "mode-php", "mode-python",
|
// "mode-javascript", "mode-css", "mode-html", "mode-php", "mode-python",
|
||||||
"mode-xml",
|
// "mode-xml",
|
||||||
"theme-clouds", "theme-clouds_midnight", "theme-cobalt",
|
// "theme-clouds", "theme-clouds_midnight", "theme-cobalt",
|
||||||
"theme-dawn", "theme-idle_fingers", "theme-kr_theme",
|
// "theme-dawn", "theme-idle_fingers", "theme-kr_theme",
|
||||||
"theme-mono_industrial", "theme-monokai", "theme-pastel_on_dark",
|
// "theme-mono_industrial", "theme-monokai", "theme-pastel_on_dark",
|
||||||
"theme-twilight"
|
// "theme-twilight"
|
||||||
].map(function(module) {
|
// ].map(function(module) {
|
||||||
return '<script src="src/' + module + '.js" type="text/javascript"></script>';
|
// return '<script src="src/' + module + '.js" type="text/javascript"></script>';
|
||||||
}).join("\n");
|
// }).join("\n");
|
||||||
return (
|
// return (
|
||||||
data.replace('<script src="demo/require.js" type="text/javascript" charset="utf-8"></script>', includes)
|
// 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>')
|
// .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"
|
// dest: "build/editor-demo.html"
|
||||||
});
|
//});
|
||||||
copy({
|
//copy({
|
||||||
source: [{
|
// source: [{
|
||||||
root: aceHome + '/demo',
|
// root: aceHome + '/demo',
|
||||||
include: "demo.js"
|
// include: "demo.js"
|
||||||
}],
|
// }],
|
||||||
filter: [ copy.filter.moduleDefines ],
|
// filter: [ copy.filter.moduleDefines ],
|
||||||
dest: "build/demo/demo.js"
|
// dest: "build/demo/demo.js"
|
||||||
});
|
//});
|
||||||
copy({
|
//copy({
|
||||||
source: aceHome + '/demo/styles.css',
|
// source: aceHome + '/demo/styles.css',
|
||||||
dest: "build/demo/styles.css"
|
// dest: "build/demo/styles.css"
|
||||||
});
|
//});
|
||||||
copy({
|
//copy({
|
||||||
source: aceHome + '/demo/logo.png',
|
// source: aceHome + '/demo/logo.png',
|
||||||
dest: "build/demo/logo.png"
|
// dest: "build/demo/logo.png"
|
||||||
});
|
//});
|
||||||
Loading…
Add table
Add a link
Reference in a new issue