Comparing version 0.1.6 to 0.1.7
@@ -16,7 +16,7 @@ 'use strict'; | ||
if (relationships) { | ||
excludeProps.concat(Object.getOwnPropertyNames(relationships)); | ||
excludeProps = excludeProps.concat(Object.getOwnPropertyNames(relationships)); | ||
} | ||
var properties = Object.getOwnPropertyNames(this); | ||
var propertiesLength = properties.length; | ||
for (var i = 0; i <= propertiesLength; i++) { | ||
for (var i = 0; i < propertiesLength; i++) { | ||
var attr = properties[i]; | ||
@@ -23,0 +23,0 @@ if (this.hasOwnProperty(attr) && excludeProps.indexOf(attr) === -1) { |
{ | ||
"name": "jsona", | ||
"description": "Two-way transformer from JSON API formatted object into instances of predefined constructor objects. If you use TypeScript, it possible to create custom model classes (describe inside) beforehand and inject it into Deserializer via custom ModelsGateway, using special Deserializer's set-method.", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "typings": "lib/index", |
Sorry, the diff of this file is not supported yet
44701