From c6143cf5876b96ad5925e88b7507aed0eed8b0d7 Mon Sep 17 00:00:00 2001 From: nightwing Date: Fri, 28 Jun 2013 19:29:53 +0400 Subject: [PATCH 1/2] include theme/textmate in build --- Makefile.dryice.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.dryice.js b/Makefile.dryice.js index cf3a4148..db607ef5 100755 --- a/Makefile.dryice.js +++ b/Makefile.dryice.js @@ -363,6 +363,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({ From 2143c4daed4227b73d72c51ec58717f0a5c05f4e Mon Sep 17 00:00:00 2001 From: nightwing Date: Fri, 28 Jun 2013 19:37:41 +0400 Subject: [PATCH 2/2] make minified files ascii compatible --- Makefile.dryice.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.dryice.js b/Makefile.dryice.js index db607ef5..487bd2ce 100755 --- a/Makefile.dryice.js +++ b/Makefile.dryice.js @@ -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)