modernizr-mixin 3.0.5 → 3.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -2
- data/lib/modernizr-mixin.rb +2 -2
- 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: f74d0f52e9588838214b0d5d422b2b0463c98439
|
4
|
+
data.tar.gz: 2ab120b7f4c9fd8a0930618803f1d8c5e1f08396
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 893e6bac68307b7e6ec2c12b549db13886a8c2b85b1fd654e1feefee3edeb27bc82052146a7c365018d77652a4d44c30473e4ea98c5be93c1c70fafe0c116cfe
|
7
|
+
data.tar.gz: 99229d331abb5c54af6b6b350eb56f5616ccf2972548aea6b647a283cbdcdb3feb5498e10712006312bda17efb154782493962cbd0795e7a4e9f5358ab80c303
|
data/README.md
CHANGED
@@ -4,9 +4,9 @@ A simple way for DRYier, faster and cleaner Modernizr tests in Sass.
|
|
4
4
|
|
5
5
|
## Install
|
6
6
|
|
7
|
-
Requires Sass 3.4
|
7
|
+
Requires Ruby Sass 3.4 or LibSass 3.2
|
8
8
|
|
9
|
-
There are
|
9
|
+
There are 4 ways of installing the Modernizr mixin:
|
10
10
|
|
11
11
|
### Download
|
12
12
|
|
@@ -23,12 +23,20 @@ Run the following command:
|
|
23
23
|
1. `gem install modernizr-mixin`
|
24
24
|
2. Add `require 'modernizr-mixin'` to your `config.rb`
|
25
25
|
|
26
|
+
### npm / Eyeglass module
|
27
|
+
|
28
|
+
npm install --save-dev modernizr-mixin
|
29
|
+
|
26
30
|
## Usage
|
27
31
|
|
28
32
|
Import it into your main stylesheet:
|
29
33
|
|
30
34
|
@import 'modernizr';
|
31
35
|
|
36
|
+
Or if you are using `Eyeglass`:
|
37
|
+
|
38
|
+
@import 'modernizr-mixin/_modernizr';
|
39
|
+
|
32
40
|
The Modernizr helper includes two mixins: `yep` and `nope`. Simply pass a comma-separeted list (`argList`) of features as argument and the rules you need to print.
|
33
41
|
|
34
42
|
### yep
|
data/lib/modernizr-mixin.rb
CHANGED
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Guillan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|