Skip to content

Commit

Permalink
deprecation fix: use new SCSS syntax
Browse files Browse the repository at this point in the history
Fixes deprecation warning with SASS and Compass#2052

```
DEPRECATION WARNING on line 92 of /Users/mattheworiordan/.rvm/gems/ruby-2.2.2/gems/compass-core-1.0.3/stylesheets/compass/css3/_deprecated-support.scss: #{} interpolation near operators will be simplified
in a future version of Sass. To preserve the current behavior, use quotes:

  unquote('"$ie6-"#{$legacy-support-for-ie6} "$ie7-"#{$legacy-support-for-ie7} "$ie8-"#{$legacy-support-for-ie8}')
```
  • Loading branch information
mattheworiordan committed Jun 8, 2016
1 parent d5df161 commit 3861c9d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions core/stylesheets/compass/css3/_deprecated-support.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,8 @@ $legacy-support-for-webkit: true !default;

// A debug tool for checking browser support
@mixin debug-support-matrix($experimental: true, $ie: true) {
@debug #{'$moz-'}$experimental-support-for-mozilla
#{'$webkit-'}$experimental-support-for-webkit
#{'$opera-'}$experimental-support-for-opera
#{'$microsoft-'}$experimental-support-for-microsoft
#{'$khtml-'}$experimental-support-for-khtml;
@debug #{'$ie6-'}$legacy-support-for-ie6
#{'$ie7-'}$legacy-support-for-ie7
#{'$ie8-'}$legacy-support-for-ie8;
@debug "#{$moz-}$experimental-support-for-mozilla #{$webkit-}$experimental-support-for-webkit #{$opera-}$experimental-support-for-opera #{$microsoft-}$experimental-support-for-microsoft #{$khtml-}$experimental-support-for-khtml";
@debug "#{$ie6-}$legacy-support-for-ie6 #{$ie7-}$legacy-support-for-ie7 #{$ie8-}$legacy-support-for-ie8";
}

// Capture the current exerimental support settings
Expand Down

0 comments on commit 3861c9d

Please sign in to comment.