mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
Trim trailing whitespace.
This commit is contained in:
@@ -8,21 +8,21 @@ tree.Anonymous = function (string, index, currentFileInfo, mapLines) {
|
||||
};
|
||||
tree.Anonymous.prototype = {
|
||||
type: "Anonymous",
|
||||
eval: function () {
|
||||
eval: function () {
|
||||
return new tree.Anonymous(this.value, this.index, this.currentFileInfo, this.mapLines);
|
||||
},
|
||||
compare: function (x) {
|
||||
if (!x.toCSS) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
var left = this.toCSS(),
|
||||
right = x.toCSS();
|
||||
|
||||
|
||||
if (left === right) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
return left < right ? -1 : 1;
|
||||
},
|
||||
genCSS: function (env, output) {
|
||||
|
||||
Reference in New Issue
Block a user