use _emit iso _dispatchEvent

This commit is contained in:
Fabian Jakobs 2011-12-19 12:03:57 +01:00
commit d2a783f824
13 changed files with 52 additions and 52 deletions

View file

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