Merge pull request #1364 from ajaxorg/worker
Queue events before sending to the worker
This commit is contained in:
commit
19dd921127
4 changed files with 35 additions and 14 deletions
|
|
@ -159,11 +159,10 @@ var EditSession = function(text, mode) {
|
|||
text = new Document(text);
|
||||
|
||||
this.setDocument(text);
|
||||
|
||||
this.selection = new Selection(this);
|
||||
this.setMode(mode);
|
||||
|
||||
config.resetOptions(this);
|
||||
this.setMode(mode);
|
||||
config._emit("session", this);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue