fix loading of unpackaged workers

This commit is contained in:
nightwing 2012-07-10 09:59:17 +04:00
commit fa4b5d5474
8 changed files with 29 additions and 19 deletions

View file

@ -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) {