Update to latest jsonld.js (fix jquery resolver bug).
authorDave Longley <dlongley@digitalbazaar.com>
Mon, 07 May 2012 15:39:13 -0400
changeset 633 5ac26f485fd3
parent 632 7be455807105
child 634 ee1bf5e4b3dc
Update to latest jsonld.js (fix jquery resolver bug).
playground/jsonld.js
--- a/playground/jsonld.js	Mon May 07 15:31:08 2012 -0400
+++ b/playground/jsonld.js	Mon May 07 15:39:13 2012 -0400
@@ -576,7 +576,7 @@
   return function(url, callback) {
     var ctx = cache.get(url);
     if(ctx !== null) {
-      return callback(null, data);
+      return callback(null, ctx);
     }
     $.ajax({
       url: url,