From 3861c9d9956dd1a5f4290ea87e9d90ba7fe44394 Mon Sep 17 00:00:00 2001 From: Matthew O'Riordan Date: Wed, 8 Jun 2016 16:38:17 +0100 Subject: [PATCH] deprecation fix: use new SCSS syntax Fixes deprecation warning with SASS and https://github.com/Compass/compass/issues/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}') ``` --- core/stylesheets/compass/css3/_deprecated-support.scss | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/core/stylesheets/compass/css3/_deprecated-support.scss b/core/stylesheets/compass/css3/_deprecated-support.scss index 73de12997a..060bc09668 100644 --- a/core/stylesheets/compass/css3/_deprecated-support.scss +++ b/core/stylesheets/compass/css3/_deprecated-support.scss @@ -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