Merge pull request #2261 from ajaxorg/build
fix broken paths in kitchen-sink demo
This commit is contained in:
commit
57a07f54b3
2 changed files with 5 additions and 1 deletions
|
|
@ -120,6 +120,7 @@ function demo() {
|
||||||
|
|
||||||
function changeComments(data) {
|
function changeComments(data) {
|
||||||
return (data
|
return (data
|
||||||
|
.replace("doc/site/images/ace-logo.png", "demo/kitchen-sink/ace-logo.png")
|
||||||
.replace(/<!\-\-DEVEL[\d\D]*?DEVEL\-\->/g, "")
|
.replace(/<!\-\-DEVEL[\d\D]*?DEVEL\-\->/g, "")
|
||||||
.replace(/PACKAGE\-\->|<!\-\-PACKAGE/g, "")
|
.replace(/PACKAGE\-\->|<!\-\-PACKAGE/g, "")
|
||||||
.replace(/\/\*DEVEL[\d\D]*?DEVEL\*\//g, "")
|
.replace(/\/\*DEVEL[\d\D]*?DEVEL\*\//g, "")
|
||||||
|
|
|
||||||
|
|
@ -86,9 +86,12 @@ var ownSource = {
|
||||||
/* filled from require*/
|
/* filled from require*/
|
||||||
};
|
};
|
||||||
|
|
||||||
var hugeDocs = {
|
var hugeDocs = require.toUrl ? {
|
||||||
"build/src/ace.js": "",
|
"build/src/ace.js": "",
|
||||||
"build/src-min/ace.js": ""
|
"build/src-min/ace.js": ""
|
||||||
|
} : {
|
||||||
|
"src/ace.js": "",
|
||||||
|
"src-min/ace.js": ""
|
||||||
};
|
};
|
||||||
|
|
||||||
modelist.modes.forEach(function(m) {
|
modelist.modes.forEach(function(m) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue