Update to latest jsonld.js.
authorDave Longley <dlongley@digitalbazaar.com>
Mon, 11 Feb 2013 11:02:43 -0500
changeset 1212 117d3d4fabd5
parent 1211 6b63e82320a0
child 1213 d58f8a730e38
Update to latest jsonld.js.
playground/jsonld.js
--- a/playground/jsonld.js	Mon Feb 11 11:01:49 2013 -0500
+++ b/playground/jsonld.js	Mon Feb 11 11:02:43 2013 -0500
@@ -1585,7 +1585,7 @@
           // array, or key is @graph
           var isArray = (container === '@set' || container === '@list' ||
             (_isArray(compactedItem) && compactedItem.length === 0) ||
-            expandedProperty === '@graph');
+            expandedProperty === '@list' || expandedProperty === '@graph');
 
           // add compact value
           jsonld.addValue(