Update to latest jsonld.js.
authorDave Longley <dlongley@digitalbazaar.com>
Thu, 29 Mar 2012 14:34:11 -0400
changeset 431 dd9c8848f82c
parent 430 f82923858d0e
child 432 3c6b5b274c48
Update to latest jsonld.js.
playground/jsonld.js
--- a/playground/jsonld.js	Thu Mar 29 14:31:57 2012 -0400
+++ b/playground/jsonld.js	Thu Mar 29 14:34:11 2012 -0400
@@ -1593,7 +1593,7 @@
       triple += '"' + statement.o['@value'] + '"';
 
       if('@type' in statement.o) {
-        triple += '^^<' + statement.p['@type'] + '>';
+        triple += '^^<' + statement.o['@type'] + '>';
       }
       else if('@language' in statement.o) {
         triple += '@' + statement.o['@language'];