Skip to content

Commit c3f7626

Browse files
gkelloggdavidlehn
authored andcommitted
Drop dead code in fromRdf for list of lists.
1 parent 7224c4b commit c3f7626

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

lib/fromRdf.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -224,25 +224,6 @@ api.fromRDF = async (
224224
}
225225
}
226226

227-
// the list is nested in another list
228-
// FIXME
229-
//if(property === RDF_FIRST) {
230-
// // empty list
231-
// if(node['@id'] === RDF_NIL) {
232-
// // can't convert rdf:nil to a @list object because it would
233-
// // result in a list of lists which isn't supported
234-
// continue;
235-
// }
236-
237-
// // preserve list head
238-
// if(RDF_REST in graphObject[head['@id']]) {
239-
// head = graphObject[head['@id']][RDF_REST][0];
240-
// }
241-
242-
// list.pop();
243-
// listNodes.pop();
244-
//}
245-
246227
// transform list into @list object
247228
delete head['@id'];
248229
head['@list'] = list.reverse();

0 commit comments

Comments
 (0)