bem-constructor 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bem-constructor.rb +1 -1
- data/stylesheets/_state.scss +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51cb9b6705bab9df5c9b085bcedf1af098ac1e3f
|
4
|
+
data.tar.gz: 58760a38203412a7a340eaef56ddf94f254a0d6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24a362fade714c407dbb07d93ae1e51174b2f7f705c63f77222896f9bc9dd9b0d1154fc4b746a8b121e1b8c4fdf2a935aa5e5df359f68635271f80662cec7977
|
7
|
+
data.tar.gz: 12a47ead9dd6cb7459f2a2463df41df2970fa5283791db45aaf6ee92352ae5613b5502c88b872d3e2082aa2f8acd099ee072c70a1ed30965a97ebc6344ad7462
|
data/lib/bem-constructor.rb
CHANGED
data/stylesheets/_state.scss
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
// State constructor
|
3
3
|
// -----------------------------------------------------------------------------
|
4
4
|
|
5
|
-
$state-namespace: 'is' !default;
|
5
|
+
$bem-state-namespace: 'is' !default;
|
6
6
|
|
7
7
|
@function _state($states...) {
|
8
8
|
$selector: ();
|
9
|
-
$namespace: if($bem-use-namespaces, $state-namespace + '-', '');
|
9
|
+
$namespace: if($bem-use-namespaces, $bem-state-namespace + '-', '');
|
10
10
|
|
11
11
|
@each $state in $states {
|
12
12
|
$s: selector-append(&, '.#{$namespace}#{$state}');
|