No space in >= or <=
This commit is contained in:
parent
f899909e1d
commit
40dab880d5
@ -9,8 +9,8 @@ tree.Comparison.prototype = {
|
||||
'<': '<',
|
||||
'>': '>',
|
||||
'=': '=',
|
||||
'<=': '< =',
|
||||
'>=': '> ='}[this.value];
|
||||
'<=': '<=',
|
||||
'>=': '>='}[this.value];
|
||||
},
|
||||
eval: function () {
|
||||
return this;
|
||||
|
@ -43,7 +43,7 @@ tree.Filter.prototype.toCSS = function (env) {
|
||||
return '<MaxScaleDenominator>' + this.zooms[this.val][0] +
|
||||
'</MaxScaleDenominator>';
|
||||
}
|
||||
if (this.op.toCSS() == '> =') {
|
||||
if (this.op.toCSS() == '>=') {
|
||||
return '<MaxScaleDenominator>' + this.zooms[this.val][1] +
|
||||
'</MaxScaleDenominator>';
|
||||
}
|
||||
@ -51,7 +51,7 @@ tree.Filter.prototype.toCSS = function (env) {
|
||||
return '<MinScaleDenominator>' + this.zooms[this.val][1] +
|
||||
'</MinScaleDenominator>';
|
||||
}
|
||||
if (this.op.toCSS() == '< =') {
|
||||
if (this.op.toCSS() == '<=') {
|
||||
return '<MinScaleDenominator>' + this.zooms[this.val][0] +
|
||||
'</MinScaleDenominator>';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user