Skip to content

Commit

Permalink
Updated to setting (and fixed test 35)
Browse files Browse the repository at this point in the history
  • Loading branch information
Snugug committed Aug 24, 2014
1 parent d4b0c84 commit 15d2121
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2,507 deletions.
8 changes: 4 additions & 4 deletions stylesheets/_breakpoint.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,21 @@ $breakpoint: () !default;
}
}

@if $breakpoint-no-query-fallbacks != false or breakpoint-get('no queries') == true {
@if breakpoint-get('no query fallbacks') != false or breakpoint-get('no queries') == true {

$type: type-of($breakpoint-no-query-fallbacks);
$type: type-of(breakpoint-get('no query fallbacks'));
$print: false;

@if ($type == 'bool') {
$print: true;
}
@else if ($type == 'string') {
@if $query-fallback == $breakpoint-no-query-fallbacks {
@if $query-fallback == breakpoint-get('no query fallbacks') {
$print: true;
}
}
@else if ($type == 'list') {
@each $wrapper in $breakpoint-no-query-fallbacks {
@each $wrapper in breakpoint-get('no query fallbacks') {
@if $query-fallback == $wrapper {
$print: true;
}
Expand Down
Loading

0 comments on commit 15d2121

Please sign in to comment.