Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit c0a63a958b60de9de19662c9cbff6b53515c8c13 1 parent 7c2adfb
@dvv dvv authored
Showing with 5 additions and 4 deletions.
  1. +1 −0  .gitignore
  2. +2 −2 lib/query.js
  3. +2 −2 package.json
View
1  .gitignore
@@ -0,0 +1 @@
+downloaded-modules
View
4 lib/query.js
@@ -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
4 package.json
@@ -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",
Please sign in to comment.
Something went wrong with that request. Please try again.