simplify require used in worker
This commit is contained in:
parent
23f9f6f849
commit
ea31c9fac6
2 changed files with 10 additions and 9 deletions
|
|
@ -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] : [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue