Updated to latest jsonld.js.
--- a/playground/jsonld.js Sun Apr 29 22:45:57 2012 -0400
+++ b/playground/jsonld.js Sun Apr 29 23:29:29 2012 -0400
@@ -1553,16 +1553,16 @@
// handle other element in @list
if(p === RDF_REST) {
- // create list entry as needed
- var listMap = graphs[name].listMap;
- if(!(s in listMap)) {
- var entry = listMap[s] = {};
- }
- else {
- var entry = listMap[s];
- }
// set next in list
if(o.interfaceName === 'BlankNode') {
+ // create list entry as needed
+ var listMap = graphs[name].listMap;
+ if(!(s in listMap)) {
+ var entry = listMap[s] = {};
+ }
+ else {
+ var entry = listMap[s];
+ }
entry.rest = o.nominalValue;
}
continue;