Permalink
Browse files

.gitignore to help testing; query.js -- proper array stringification

  • Loading branch information...
1 parent 7c2adfb commit c0a63a958b60de9de19662c9cbff6b53515c8c13 @dvv dvv committed Nov 29, 2010
Showing with 5 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +2 −2 lib/query.js
  3. +2 −2 package.json
View
@@ -0,0 +1 @@
+downloaded-modules
View
@@ -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 [
View
@@ -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",

0 comments on commit c0a63a9

Please sign in to comment.