nuke-dimensions
Advanced tools
Comparing version 0.1.6 to 0.1.7
# Changelog | ||
## 0.1.7 / 2017-06-14 | ||
* [[65f97d0](http://gitlab.alibaba-inc.com/nuke/dimensions/commit/65f97d047e9a72ec0fd8620105390e407315506e)] - `fix` fix scale bug, scale 在安卓手机上有浮点数 | ||
## 0.1.6 / 2017-06-02 | ||
@@ -5,0 +9,0 @@ |
@@ -27,3 +27,3 @@ 'use strict'; | ||
weexEnv.deviceWidth = parseInt(weexEnv.deviceWidth, 10); | ||
var scale = parseInt(weexEnv.scale, 10) || DEFAULT_SCALE; | ||
var scale = parseFloat(weexEnv.scale, 10) || DEFAULT_SCALE; | ||
if (landscape) { | ||
@@ -30,0 +30,0 @@ dimensions = { |
{ | ||
"name": "nuke-dimensions", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "屏幕参数", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9674