use _emit iso _dispatchEvent
This commit is contained in:
parent
02f1447e2c
commit
d2a783f824
13 changed files with 52 additions and 52 deletions
|
|
@ -342,7 +342,7 @@ function Folding() {
|
|||
|
||||
// Notify that fold data has changed.
|
||||
this.$modified = true;
|
||||
this._dispatchEvent("changeFold", { data: fold });
|
||||
this._emit("changeFold", { data: fold });
|
||||
|
||||
return fold;
|
||||
};
|
||||
|
|
@ -400,7 +400,7 @@ function Folding() {
|
|||
|
||||
// Notify that fold data has changed.
|
||||
this.$modified = true;
|
||||
this._dispatchEvent("changeFold", { data: fold });
|
||||
this._emit("changeFold", { data: fold });
|
||||
};
|
||||
|
||||
this.removeFolds = function(folds) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue