app/assets/stylesheets/functions/_contains.scss in bourbon-4.2.7 vs app/assets/stylesheets/functions/_contains.scss in bourbon-4.3.0
- old
+ new
@@ -14,9 +14,14 @@
/// contains($list, $value)
///
/// @return {Bool}
@function contains($list, $values...) {
+ @if $output-bourbon-deprecation-warnings == true {
+ @warn "[Bourbon] [Deprecation] `contains` is deprecated and will be " +
+ "removed in 5.0.0.";
+ }
+
@each $value in $values {
@if type-of(index($list, $value)) != "number" {
@return false;
}
}