stylesheets/_state.scss in bem-constructor-0.9.0 vs stylesheets/_state.scss in bem-constructor-1.0.0

- old
+ new

@@ -7,10 +7,11 @@ @function _state($states...) { $selector: (); $namespace: if($bem-use-namespaces, $bem-state-namespace + '-', ''); @each $state in $states { - $s: selector-append(&, '.#{$namespace}#{$state}'); + $ss: &; // Workaround for libsass + $s: selector-append($ss, '.#{$namespace}#{$state}'); $selector: append($selector, $s, 'comma'); } $set-current: set-current-context('state', $states, $selector);