Comparing version 0.0.23 to 0.0.24
@@ -452,2 +452,4 @@ var widgets = require('./widgets'), | ||
var parent = object; | ||
if(!parent) | ||
return null; | ||
var parts = name.split('.'); | ||
@@ -460,4 +462,2 @@ _.each(_.initial(parts),function(part) | ||
}); | ||
if(!parent) | ||
return null; | ||
return parent[_.last(parts)]; | ||
@@ -464,0 +464,0 @@ }, |
{ | ||
"name": "j-forms", | ||
"description": "jewish forms creation from fields or from mongoose models", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"author": "Ishai Jaffe <ishai@empeeric.com>", | ||
@@ -6,0 +6,0 @@ "dependencies": { |