[Pkg-javascript-commits] [less.js] 10/88: Pixel conversion added.
Jonas Smedegaard
dr at jones.dk
Mon Oct 26 23:22:21 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 e6b94f9c45c0a2cc309ba2598e783c1fd670f98a
Author: deviprsd21 <deviprsd21 at gmail.com>
Date: Mon Jan 13 16:43:46 2014 +0530
Pixel conversion added.
---
lib/less/tree/dimension.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/less/tree/dimension.js b/lib/less/tree/dimension.js
index c64cd89..7012c41 100644
--- a/lib/less/tree/dimension.js
+++ b/lib/less/tree/dimension.js
@@ -161,6 +161,7 @@ tree.UnitConversions = {
'cm': 0.01,
'mm': 0.001,
'in': 0.0254,
+ 'px': 0.0254 / 96,
'pt': 0.0254 / 72,
'pc': 0.0254 / 72 * 12
},
--
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