Update to latest jsonld.js.
authorDave Longley <dlongley@digitalbazaar.com>
Sun, 10 Feb 2013 14:41:10 -0500
changeset 1203 e093809b1c2f
parent 1202 461c2ef66d72
child 1204 ab406b72311f
Update to latest jsonld.js.
playground/jsonld.js
--- a/playground/jsonld.js	Sun Feb 10 14:40:47 2013 -0500
+++ b/playground/jsonld.js	Sun Feb 10 14:41:10 2013 -0500
@@ -4057,7 +4057,7 @@
     var prospects = element[iri];
 
     // handle empty array case
-    if(prospects.length === 0 && _isArray(value) && value.length === 0) {
+    if(_isArray(value) && value.length === 0) {
       rval = true;
       if(remove) {
         delete element[iri];