fix typo in noworker detection

This commit is contained in:
nightwing 2013-07-09 18:22:18 +04:00
commit 49967c139a
3 changed files with 12 additions and 3 deletions

View file

@ -71,7 +71,7 @@ var IncrementalSearch = require("ace/incremental_search").IncrementalSearch;
var workerModule = require("ace/worker/worker_client");
if (location.href.indexOf("noworker" !== -1)) {
if (location.href.indexOf("noworker") !== -1) {
workerModule.WorkerClient = workerModule.UIWorkerClient;
}