mirror of
https://github.com/less/less.js.git
synced 2026-01-23 14:18:00 -05:00
remove shorthand
This commit is contained in:
@@ -34,16 +34,4 @@ tree.Rule.prototype.makeImportant = function () {
|
||||
this.index, this.inline);
|
||||
};
|
||||
|
||||
tree.Shorthand = function (a, b) {
|
||||
this.a = a;
|
||||
this.b = b;
|
||||
};
|
||||
|
||||
tree.Shorthand.prototype = {
|
||||
toCSS: function (env) {
|
||||
return this.a.toCSS(env) + "/" + this.b.toCSS(env);
|
||||
},
|
||||
eval: function () { return this }
|
||||
};
|
||||
|
||||
})(require('../tree'));
|
||||
|
||||
Reference in New Issue
Block a user