We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7224c4b commit c3f7626Copy full SHA for c3f7626
lib/fromRdf.js
@@ -224,25 +224,6 @@ api.fromRDF = async (
224
}
225
226
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
246
// transform list into @list object
247
delete head['@id'];
248
head['@list'] = list.reverse();
0 commit comments