update CHANGELOG with new version

This commit is contained in:
Anton Lavrenov
2016-07-05 09:59:41 +07:00
parent 724dcceace
commit aef5e79981
5 changed files with 51 additions and 15 deletions

View File

@@ -1771,14 +1771,16 @@
},
_setAttr: function(key, val) {
var oldVal;
if(val !== undefined) {
oldVal = this.attrs[key];
if (oldVal === val) {
return;
}
this.attrs[key] = val;
this._fireChangeEvent(key, oldVal, val);
oldVal = this.attrs[key];
if (oldVal === val) {
return;
}
if (val === undefined || val === null) {
delete this.attrs[key];
} else {
this.attrs[key] = val;
}
this._fireChangeEvent(key, oldVal, val);
},
_setComponentAttr: function(key, component, val) {
var oldVal;