Update to latest jsonld.js.
authorDave Longley <dlongley@digitalbazaar.com>
Sat, 21 Apr 2012 01:49:17 -0400
changeset 559 dc6b0ba407b1
parent 558 2f2a2e100f78
child 560 3a78d3cda32f
Update to latest jsonld.js.
playground/jsonld.js
--- a/playground/jsonld.js	Sat Apr 21 00:14:02 2012 -0400
+++ b/playground/jsonld.js	Sat Apr 21 01:49:17 2012 -0400
@@ -150,7 +150,7 @@
     ctx = [];
     for(var i in tmp) {
       if(!_isObject(tmp[i]) || Object.keys(tmp[i]).length > 0) {
-        ctx[i] = tmp[i];
+        ctx.push(tmp[i]);
       }
     }