Skip to content

Commit 1911f1b

Browse files
author
Martin Martinez Rivera
committed
Merge branch 'master' of github.com:linkeddata/node-ldp-httpd
2 parents 3184f01 + e940ad2 commit 1911f1b

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎.travis.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
sudo: false
12
language: node_js
23
node_js:
34
- "0.12"
45

56
before_script:
67
- npm install --quiet -g grunt-cli karma bower
78
- make &
8-
- sleep 1
9+
- sleep 5
910

1011
after_script: killall node
1112

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
ldnode
22
==============
33

4+
[![Build Status](https://api.travis-ci.org/linkeddata/ldnode.svg)](https://travis-ci.org/linkeddata/ldnode)
5+
46
All you need to run distributed linked data apps on top of a bit of file system. Typically used as a proxy, with Apache doing the ACLs and GETs, just to do the fast real-time patch of data resources.
57

68
Linked Data Platform server based on rdflib.js and node.js

‎handlers/get.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*jslint node: true*/
22
"use strict";
33

4-
var _ = require('underscore');
54
var mime = require('mime');
65
var fs = require('fs');
76
var glob = require('glob');
@@ -112,7 +111,7 @@ function get(req, res, includeBody) {
112111
} else {
113112
logging.log("matches " + matches);
114113
var globGraph = $rdf.graph();
115-
_.each(matches, function(match) {
114+
matches.forEach(function(match) {
116115
try {
117116
var fileData = fs.readFileSync(match,
118117
{encoding: "utf8"});

0 commit comments

Comments
 (0)