mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
Removal of zero, unitonly changed to obtain
This commit is contained in:
@@ -309,10 +309,7 @@ tree.functions = {
|
||||
max: function () {
|
||||
return this._minmax(false, arguments);
|
||||
},
|
||||
zero: function (n) {
|
||||
return new(tree.Dimension)(n.value, n.value ? n.unit : '');
|
||||
},
|
||||
unitonly: function (n) {
|
||||
obtain: function (n) {
|
||||
return new(tree.Anonymous)(n.unit);
|
||||
},
|
||||
argb: function (color) {
|
||||
|
||||
Reference in New Issue
Block a user