No space in >= or <=

This commit is contained in:
AJ Ashton 2011-01-19 16:01:43 -05:00
parent f899909e1d
commit 40dab880d5
2 changed files with 4 additions and 4 deletions

View File

@ -9,8 +9,8 @@ tree.Comparison.prototype = {
'<': '&lt;',
'>': '&gt;',
'=': '=',
'<=': '&lt; =',
'>=': '&gt; ='}[this.value];
'<=': '&lt;=',
'>=': '&gt;='}[this.value];
},
eval: function () {
return this;

View File

@ -43,7 +43,7 @@ tree.Filter.prototype.toCSS = function (env) {
return '<MaxScaleDenominator>' + this.zooms[this.val][0] +
'</MaxScaleDenominator>';
}
if (this.op.toCSS() == '&gt; =') {
if (this.op.toCSS() == '&gt;=') {
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() == '&lt; =') {
if (this.op.toCSS() == '&lt;=') {
return '<MinScaleDenominator>' + this.zooms[this.val][0] +
'</MinScaleDenominator>';
}