Merge pull request #1496 from ajaxorg/fix/build

Fix build
This commit is contained in:
Lennart Kats 2013-07-01 02:24:03 -07:00
commit cc0b6386aa

View file

@ -274,6 +274,8 @@ function getWriteFilters(options, projectType) {
if (options.compress)
filters.push(copy.filter.uglifyjs);
copy.filter.uglifyjs.options.ascii = true;
if (options.exportModule && projectType == "main") {
if (options.noconflict)
@ -363,6 +365,9 @@ var buildAce = function(options) {
console.log('# ace themes ---------');
project.assumeAllFilesLoaded();
delete project.ignoredModules["ace/theme/textmate"];
delete project.ignoredModules["ace/requirejs/text!ace/theme/textmate.css"];
options.themes.forEach(function(theme) {
console.log("theme " + theme);
copy({