projects
/
cql-js-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4146b8
)
Fix typo in the property call
author
Jakub Skoczen
<jakub@indexdata.dk>
Thu, 18 Oct 2012 11:12:34 +0000
(13:12 +0200)
committer
Jakub Skoczen
<jakub@indexdata.dk>
Thu, 18 Oct 2012 11:12:34 +0000
(13:12 +0200)
cql.js
patch
|
blob
|
history
diff --git
a/cql.js
b/cql.js
index
3cd9028
..
1f9b126
100644
(file)
--- a/
cql.js
+++ b/
cql.js
@@
-143,7
+143,7
@@
CQLBoolean.prototype = {
toString: function () {
return (this.left.op ? '(' + this.left + ')' : this.left) + ' ' +
this.op.toUpperCase() +
- (this.modifiers.lenght > 0 ? '/' + this.modifiers.join('/') : '') +
+ (this.modifiers.length > 0 ? '/' + this.modifiers.join('/') : '') +
' ' + (this.right.op ? '(' + this.right + ')' : this.right);;
},
toXCQL: function (n) {