1
0
mirror of https://github.com/balkian/hook.io-sparql.git synced 2024-11-21 21:22:28 +00:00

Fixed null callback

This commit is contained in:
J.Fernando Sánchez 2012-03-15 17:19:43 +01:00
parent 8abe7e4d20
commit 41b7b9198f
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class SPARQLHook extends Hook
query: (query, cb) -> query: (query, cb) ->
console.log ">>Going to query" console.log ">>Going to query"
@client.rows query, (err, res) -> @client.rows query, (err, res) ->
cb res cb? res
addPreffix: (key,url) -> addPreffix: (key,url) ->
@client.prefix_map[key] = url @client.prefix_map[key] = url

View File

@ -3,7 +3,7 @@
"name": "hook.io-sparql", "name": "hook.io-sparql",
"description": "SparQL hook queries", "description": "SparQL hook queries",
"keywords" : [ "hook", "hook.io", "sparql" ], "keywords" : [ "hook", "hook.io", "sparql" ],
"version": "0.0.2", "version": "0.0.3",
"bugs" : { "url" : "http://github.com/balkian/hook.io-sparql/issues" }, "bugs" : { "url" : "http://github.com/balkian/hook.io-sparql/issues" },
"repository": { "repository": {
"type": "git", "type": "git",