simplify require used in worker

This commit is contained in:
nightwing 2013-04-30 01:30:17 +04:00
commit ea31c9fac6
2 changed files with 10 additions and 9 deletions

View file

@ -417,9 +417,7 @@ var buildAce = function(options) {
source: [{
project: workerProject,
require: [
'ace/lib/fixoldbrowsers',
'ace/lib/event_emitter',
'ace/lib/oop',
'ace/worker/worker',
'ace/mode/' + mode + '_worker'
]
}],
@ -428,7 +426,6 @@ var buildAce = function(options) {
});
copy({
source: [
ACE_HOME + "/lib/ace/worker/worker.js",
worker
],
filter: options.compress ? [copy.filter.uglifyjs] : [],