autoprefixer-rails 5.1.10 → 5.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +3 -0
- data/lib/autoprefixer-rails/version.rb +1 -1
- data/vendor/autoprefixer.js +11 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7bcab195997ad609b90208e6806959f3c8b74e0
|
4
|
+
data.tar.gz: 6bedfc47e7d86d54c90b021067be6d30780fc209
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19209345b7ed8399481848f1c905ebc95ff3e3e57e0b02e606042d3c307e29578b4cb91e99008db8ab617a3281d73e5a3175eb92114486266e89a7e1d2f0232e
|
7
|
+
data.tar.gz: 6419d9775d0eeedb3d0763d286febb6acbdff48d87548646d3cb871d4c55e986391f532f494e5c112f934be1cb60ec562e1bbd27316a42e1836b6b0329cf028f
|
data/ChangeLog.md
CHANGED
data/vendor/autoprefixer.js
CHANGED
@@ -14998,6 +14998,16 @@ function GCD(a, b) {
|
|
14998
14998
|
return GCD(b, a % b)
|
14999
14999
|
}
|
15000
15000
|
|
15001
|
+
function findPrecision(n) {
|
15002
|
+
var e = 1
|
15003
|
+
|
15004
|
+
while (Math.round(n * e) / e !== n) {
|
15005
|
+
e *= 10
|
15006
|
+
}
|
15007
|
+
|
15008
|
+
return e
|
15009
|
+
}
|
15010
|
+
|
15001
15011
|
function num2fraction(num) {
|
15002
15012
|
if (num === 0) return 0
|
15003
15013
|
|
@@ -15006,7 +15016,7 @@ function num2fraction(num) {
|
|
15006
15016
|
}
|
15007
15017
|
|
15008
15018
|
|
15009
|
-
var precision =
|
15019
|
+
var precision = findPrecision(num) //精确度
|
15010
15020
|
var number = num * precision
|
15011
15021
|
var gcd = GCD(number, precision)
|
15012
15022
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoprefixer-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Sitnik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|