modernizr-mixin 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/modernizr-mixin.rb +2 -2
- data/stylesheets/_modernizr.scss +6 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7292003701426ad16301fb8fbf4414cb6d1bed16
|
4
|
+
data.tar.gz: c559c45b98a79589565df8bee09930044339270d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe789709e822d54085413ad962698e7c2adbb6710914d5ef3c162f393fcf94e07af6b66e1c293888c0bcb93923695b540c4cfbe86cfb7199f14fe00b6041b65e
|
7
|
+
data.tar.gz: c5636e8b54070ff7908b7caf4e5dfba21108cc92c0c414b3aace546671543ace3d38efbe3f336fa3c852be5da10a7ce99c8737bc465ac823c90929bec87c9411
|
data/lib/modernizr-mixin.rb
CHANGED
data/stylesheets/_modernizr.scss
CHANGED
@@ -37,9 +37,9 @@
|
|
37
37
|
@each $feature in $features {
|
38
38
|
|
39
39
|
// Making sure $feature is a string
|
40
|
-
@if type-of($feature) != string {
|
40
|
+
@if type-of($feature) != 'string' {
|
41
41
|
|
42
|
-
@error '`#{$feature} is not a string for `modernizr`.';
|
42
|
+
@error '`#{$feature}` is not a string for `modernizr`.';
|
43
43
|
|
44
44
|
} @else {
|
45
45
|
|
@@ -49,7 +49,7 @@
|
|
49
49
|
// Append the new selector
|
50
50
|
// a) to the string if yep (e.g. `.translate3d.opacity`)
|
51
51
|
// b) to the list if nope (e.g. `.no-translate3d, .no-opacity`)
|
52
|
-
$selector: if($supports, $selector + $new-selector, append($selector, $new-selector, comma));
|
52
|
+
$selector: if($supports, $selector + $new-selector, append($selector, $new-selector, 'comma'));
|
53
53
|
|
54
54
|
}
|
55
55
|
}
|
@@ -58,9 +58,9 @@
|
|
58
58
|
$selector: selector-nest($selector, &);
|
59
59
|
|
60
60
|
// Define feature selector(s) and print @content
|
61
|
-
|
62
|
-
|
63
|
-
|
61
|
+
@at-root #{$selector} {
|
62
|
+
@content;
|
63
|
+
}
|
64
64
|
|
65
65
|
}
|
66
66
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: modernizr-mixin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Guillan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
version: 1.3.6
|
69
69
|
requirements: []
|
70
70
|
rubyforge_project: modernizr-mixin
|
71
|
-
rubygems_version: 2.
|
71
|
+
rubygems_version: 2.0.14
|
72
72
|
signing_key:
|
73
73
|
specification_version: 4
|
74
74
|
summary: Simple and comprehensive mixin for Modernizr tests in Sass
|