Make sure compiler can inline

This commit is contained in:
kangax 2014-01-17 11:51:16 -05:00
parent 16447f9b7a
commit 13fcf15b8b

View file

@ -71,7 +71,7 @@
*/
_set: function(key, value) {
this[key] = value;
if (key in coordProps) {
if (typeof coordProps[key] !== 'undefined') {
this._setWidthHeight();
}
return this;