Some nullable properties could not be set to null.
[Verification] Code compiles. Fixes were tested on an emulator as well.
Change-Id: Ifb34d962909369c9f87b5e8958a814b2e5dc50c9
Signed-off-by: Marcin Bialek <m.bialek@samsung.com>
return _subText;
},
set: function(v) {
- _subText = type_.isString(v) ? v : _subText;
+ _subText = type_.isString(v) || type_.isNull(v) ? v : _subText;
},
enumerable: true
}
return _imagePath;
},
set: function(v) {
- _imagePath = type_.isString(v) ? v : _imagePath;
+ _imagePath = type_.isString(v) || type_.isNull(v) ? v : _imagePath;
},
enumerable: true
}