fix loading of unpackaged workers
This commit is contained in:
parent
ccdb5c57c4
commit
fa4b5d5474
8 changed files with 29 additions and 19 deletions
|
|
@ -83,7 +83,7 @@ oop.inherits(Mode, TextMode);
|
|||
};
|
||||
|
||||
this.createWorker = function(session) {
|
||||
var worker = new WorkerClient(["ace"], "ace/worker/css", "Worker");
|
||||
var worker = new WorkerClient(["ace"], "ace/mode/css_worker", "Worker");
|
||||
worker.attachToDocument(session.getDocument());
|
||||
|
||||
worker.on("csslint", function(e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue