Comparing version 0.9.3 to 0.9.4
@@ -78,3 +78,3 @@ //Copyright (C) 2012 Kory Nunn | ||
// Faster to check again here than to create pointless paths. | ||
if(prop && typeof prop === 'object' && prop !== object){ | ||
if(prop && typeof prop === 'object' && !modelReferences.has(prop)){ | ||
addModelReference(paths.append(path, paths.create(key)), prop); | ||
@@ -81,0 +81,0 @@ } |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "0.9.3", | ||
"version": "0.9.4", | ||
"main": "gedi.js", | ||
@@ -12,0 +12,0 @@ "dependencies": { |
40325