Update to latest jsonld.js.
authorDave Longley <dlongley@digitalbazaar.com>
Mon, 07 May 2012 15:52:11 -0400
changeset 634 ee1bf5e4b3dc
parent 633 5ac26f485fd3
child 635 40db458d795d
Update to latest jsonld.js.
playground/jsonld.js
--- a/playground/jsonld.js	Mon May 07 15:39:13 2012 -0400
+++ b/playground/jsonld.js	Mon May 07 15:52:11 2012 -0400
@@ -3720,7 +3720,7 @@
       // array @context
       if(_isArray(ctx)) {
         var length = ctx.length;
-        for(var i = 0; i < ctx.length; ++i) {
+        for(var i = 0; i < length; ++i) {
           var _ctx = ctx[i];
           if(_isString(_ctx)) {
             // replace w/@context if requested