Skip to content

Commit

Permalink
.gitignore to help testing; query.js -- proper array stringification
Browse files Browse the repository at this point in the history
  • Loading branch information
dvv committed Nov 29, 2010
1 parent 7c2adfb commit c0a63a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
downloaded-modules
4 changes: 2 additions & 2 deletions lib/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ Query.prototype.toString = function(){

function queryToString(part) {
if (part instanceof Array) {
return part.map(function(arg) {
return '('+part.map(function(arg) {
return queryToString(arg);
}).join(",");
}).join(",")+')';
}
if (part && part.name && part.args) {
return [
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"url":"http://github.com/kriszyp/rql"
},
"mappings": {
"patr": "http://github.com/kriszyp/patr/zipball/v0.2.1",
"promised-io": "http://github.com/kriszyp/promised-io/zipball/v0.2.1"
"patr": "http://nodeload.github.com/kriszyp/patr/zipball/v0.2.1",
"promised-io": "http://nodeload.github.com/kriszyp/promised-io/zipball/v0.2.1"
},
"dependencies": {
"patr": ">=0.2.1",
Expand Down

0 comments on commit c0a63a9

Please sign in to comment.