From 36fad664d0adf58a4b6ca226de3903097589cff4 Mon Sep 17 00:00:00 2001 From: Jim Amsden Date: Mon, 15 Feb 2016 15:54:28 -0500 Subject: [PATCH] N3.Util isUri changed to isIRI --- package.json | 2 +- turtle.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8678c5f..d49ffbb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ldp-service", - "version": "0.0.2", + "version": "0.0.4", "description": "An Express middleware for LDP that uses MongoDB for persistence of JSON-LD resources", "license": "Apache-2.0", "main": "service.js", diff --git a/turtle.js b/turtle.js index 11b1471..87e5d15 100644 --- a/turtle.js +++ b/turtle.js @@ -47,7 +47,7 @@ exports.parse = function(req, resourceURI, callback) { callback(err); } else if (triple) { triple.subject = normalize(triple.subject); - if (N3.Util.isUri(triple.object)) { + if (N3.Util.isIRI(triple.object)) { triple.object = normalize(triple.object); } triples.push(triple);