Update XQuery worker message flow.
This commit is contained in:
parent
994e8fd4e9
commit
0e34414f07
1 changed files with 2 additions and 4 deletions
|
|
@ -71,13 +71,11 @@ oop.inherits(XQueryWorker, Mirror);
|
||||||
type: "error"
|
type: "error"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
var tokens = parser.highlighter.getTokens();
|
} else {
|
||||||
this.sender.emit("highlight", tokens);
|
this.sender.emit("ok");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
var tokens = parser.highlighter.getTokens();
|
var tokens = parser.highlighter.getTokens();
|
||||||
this.sender.emit("highlight", tokens);
|
this.sender.emit("highlight", tokens);
|
||||||
this.sender.emit("ok");
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}).call(XQueryWorker.prototype);
|
}).call(XQueryWorker.prototype);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue