Update to latest jsonld.js.
authorDave Longley <dlongley@digitalbazaar.com>
Sun, 15 Sep 2013 22:21:26 -0400
changeset 1993 f0e26cfbdcfb
parent 1992 f1602b51375b
child 1994 3aafa144b3ba
Update to latest jsonld.js.
playground/jsonld.js
--- a/playground/jsonld.js	Sun Sep 15 00:19:42 2013 -0400
+++ b/playground/jsonld.js	Sun Sep 15 22:21:26 2013 -0400
@@ -5686,7 +5686,7 @@
             return;
           }
 
-          var ctx = remoteDoc.document;
+          var ctx = remoteDoc ? remoteDoc.document : null;
 
           // parse string context as JSON
           if(!err && _isString(ctx)) {