Skip to content

Commit 9a936fc

Browse files
committed
Moving code around, to handle streams correctly
And make old tests pass
1 parent fae913d commit 9a936fc

File tree

3 files changed

+13
-29
lines changed

3 files changed

+13
-29
lines changed

lib/handlers/validate.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

lib/ldp-middleware.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const del = require('./handlers/delete')
1010
const patch = require('./handlers/patch')
1111
const index = require('./handlers/index')
1212
const copy = require('./handlers/copy')
13-
// const validate = require('./handlers/validate')
1413

1514
function LdpMiddleware (corsSettings) {
1615
const router = express.Router('/')
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
@prefix ldp: <http://www.w3.org/ns/ldp#>.
2+
@prefix o: <http://example.org/ontology#>.
3+
4+
<http://example.org/netWorth/nw1/>
5+
test o:NetWorth;
6+
o:netWorthOf <http://example.org/users/JohnZSmith>;
7+
o:asset
8+
<assets/a1>,
9+
<assets/a2>;
10+
o:liability
11+
<liabilities/l1>,
12+
<liabilities/l2>,
13+
<liabilities/l3>.

0 commit comments

Comments
 (0)