X-Git-Url: http://git.indexdata.com/?p=cql-js-moved-to-github.git;a=blobdiff_plain;f=cql.js;h=1f9b1261b3597d7696d13e377a5e710668d97edf;hp=3cd9028a625d33fbdcf65bda2078d0bc332447f3;hb=9dd5dd0825d3a847cd1bb52f21b9ab5a50c2340e;hpb=a4146b8d04215650aa530ddc70fed17125e53f7c diff --git a/cql.js b/cql.js index 3cd9028..1f9b126 100644 --- 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) {