alt location

This commit is contained in:
Yaapa Hage 2020-08-28 13:03:34 +05:30
parent 60406efb90
commit cf17ce2c20
1 changed files with 2 additions and 0 deletions

View File

@ -199,6 +199,8 @@ ModelBaseClass.prototype._initProperties = function(data, options) {
}
if (properties[p]) {
// SPIKE: could coercion be done here?
// console.log(properties[p], propVal)
// Managed property
if (applySetters || properties[p].id) {
self[p] = propVal;