[Pkg-javascript-commits] [less.js] 13/88: Removal of zero, unitonly changed to obtain
Jonas Smedegaard
dr at jones.dk
Mon Oct 26 23:22:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag v1.7.0
in repository less.js.
commit 8ccadb85938b880876dbf3528b1078815682c0ff
Author: deviprsd21 <deviprsd21 at gmail.com>
Date: Wed Jan 15 18:28:34 2014 +0530
Removal of zero, unitonly changed to obtain
---
lib/less/functions.js | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/lib/less/functions.js b/lib/less/functions.js
index 7df372e..d23bd3c 100644
--- a/lib/less/functions.js
+++ b/lib/less/functions.js
@@ -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) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git
More information about the Pkg-javascript-commits
mailing list