stylesheets/flint/functions/lib/_use-syntax.scss in flint-gs-1.7.0 vs stylesheets/flint/functions/lib/_use-syntax.scss in flint-gs-1.7.1

- old
+ new

@@ -1,14 +1,14 @@ -// Use global syntax -// ------------------------------------------------------------------------------- -// @param $selectors [string] : string of selectors to transform -// ------------------------------------------------------------------------------- -// @return [list] : list of transformed selectors according to syntax - -@function flint-use-syntax($selectors) { - @if $flint__support-syntax { - @return flint-support-syntax($flint__support-syntax, $selectors); - } @else { - @warn "Support syntax is set to #{$flint__support-syntax}. Aborting mission."; - @return false; - } -} +// Use global syntax +// ------------------------------------------------------------------------------- +// @param $selectors [string] : string of selectors to transform +// ------------------------------------------------------------------------------- +// @return [list] : list of transformed selectors according to syntax + +@function flint-use-syntax($selectors) { + @if $flint__support-syntax { + @return flint-support-syntax($flint__support-syntax, $selectors); + } @else { + @warn "Support syntax is set to #{$flint__support-syntax}. Aborting mission."; + @return false; + } +}