Use new jsonld.js API.
authorDave Longley <dlongley@digitalbazaar.com>
Tue, 19 Feb 2013 13:40:14 -0500
changeset 1313 7a65549b3405
parent 1312 460f8e45c56e
child 1314 98f77dabf00b
Use new jsonld.js API.
playground/playground.js
--- a/playground/playground.js	Tue Feb 19 18:29:18 2013 +0100
+++ b/playground/playground.js	Tue Feb 19 13:40:14 2013 -0500
@@ -460,8 +460,8 @@
 
   // event handlers
   $(document).ready(function() {
-    // use jquery URL client
-    jsonld.useUrlClient('jquery', $);
+    // use jquery context loader
+    jsonld.useContextLoader('jquery', $);
 
     // set up buttons to load examples
     $('.button').each(function(idx) {