autoprefixer-rails 0.3.20130423 → 0.3.20130424
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/autoprefixer-rails/version.rb +1 -1
- data/vendor/autoprefixer.js +21 -13
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/vendor/autoprefixer.js
CHANGED
@@ -6191,7 +6191,8 @@ var autoprefixer = {
|
|
6191
6191
|
var propVendor = split.prefix || vendor;
|
6192
6192
|
|
6193
6193
|
var valuePrefixer = function (values) {
|
6194
|
-
var prefixed =
|
6194
|
+
var prefixed = { };
|
6195
|
+
|
6195
6196
|
for ( var name in values ) {
|
6196
6197
|
var value = values[name];
|
6197
6198
|
if ( !value.regexp.test(rule.value) ) {
|
@@ -6202,22 +6203,29 @@ var autoprefixer = {
|
|
6202
6203
|
if ( propVendor && propVendor != prefix ) {
|
6203
6204
|
return;
|
6204
6205
|
}
|
6205
|
-
|
6206
|
-
|
6206
|
+
if ( !prefixed[prefix]) {
|
6207
|
+
prefixed[prefix] = rule.value;
|
6208
|
+
}
|
6209
|
+
prefixed[prefix] = prefixed[prefix].replace(
|
6210
|
+
value.regexp, '$1' + prefix + name + '$2');
|
6207
6211
|
});
|
6208
6212
|
}
|
6209
|
-
|
6210
|
-
|
6211
|
-
|
6212
|
-
|
6213
|
-
|
6214
|
-
|
6215
|
-
|
6216
|
-
|
6217
|
-
|
6213
|
+
|
6214
|
+
|
6215
|
+
for ( var prefix in prefixed ) {
|
6216
|
+
if ( prefixed[prefix] != rule.value ) {
|
6217
|
+
if ( propVendor ) {
|
6218
|
+
rule.value = prefixed[prefix];
|
6219
|
+
} else {
|
6220
|
+
rules.splice(num, 0, {
|
6221
|
+
property: rule.property,
|
6222
|
+
value: prefixed[prefix]
|
6223
|
+
});
|
6224
|
+
num += 1;
|
6225
|
+
}
|
6218
6226
|
}
|
6219
6227
|
}
|
6220
|
-
}
|
6228
|
+
};
|
6221
6229
|
|
6222
6230
|
if ( all ) {
|
6223
6231
|
valuePrefixer(all.values);
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoprefixer-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.20130424
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: execjs
|
@@ -82,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
segments:
|
84
84
|
- 0
|
85
|
-
hash:
|
85
|
+
hash: 432959967411605128
|
86
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
87
|
none: false
|
88
88
|
requirements:
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
segments:
|
93
93
|
- 0
|
94
|
-
hash:
|
94
|
+
hash: 432959967411605128
|
95
95
|
requirements: []
|
96
96
|
rubyforge_project:
|
97
97
|
rubygems_version: 1.8.23
|