Merge pull request #3744 from rexrainbow/master

Pass `this.parent` instead of `this` in callback of removedata event
This commit is contained in:
Richard Davey 2018-06-14 12:29:38 +01:00 committed by GitHub
commit d66daa6795
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -456,7 +456,7 @@ var DataManager = new Class({
delete this.list[key];
delete this.values[key];
this.events.emit('removedata', this, key, data);
this.events.emit('removedata', this.parent, key, data);
}
return this;