promised-models2
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -89,3 +89,3 @@ /** | ||
getId: function () { | ||
return this.idAttribute ? this.idAttribute.get() : null | ||
return this.idAttribute && this.idAttribute.isSet() ? this.idAttribute.get() : null | ||
}, | ||
@@ -92,0 +92,0 @@ |
{ | ||
"description": "promise based, typed attributes, nested models and collections", | ||
"name": "promised-models2", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"repository": "git@github.com:bem-node/promised-models.git", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
170679