diff options
| author | Martijn Cuppens <[email protected]> | 2019-01-23 04:59:15 +0100 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-01-23 05:59:15 +0200 |
| commit | dfba588d0d1ea020634f1a8f2911c7222702b125 (patch) | |
| tree | a952b537aff17190fb44c32a3eadddc0e2996292 | |
| parent | 5c56e9adff6c1ab8c7ae72429e6bc33b426541f0 (diff) | |
| download | bootstrap-dfba588d0d1ea020634f1a8f2911c7222702b125.tar.xz bootstrap-dfba588d0d1ea020634f1a8f2911c7222702b125.zip | |
Add default value for `$ignore-warning` (#28103)
| -rw-r--r-- | scss/mixins/_deprecate.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/mixins/_deprecate.scss b/scss/mixins/_deprecate.scss index 43d6f1ea0..df070bc59 100644 --- a/scss/mixins/_deprecate.scss +++ b/scss/mixins/_deprecate.scss @@ -3,7 +3,7 @@ // This mixin can be used to deprecate mixins or functions. // `$enable-deprecation-messages` is a global variable, `$ignore-warning` is a variable that can be passed to // some deprecated mixins to suppress the warning (for example if the mixin is still be used in the current version of Bootstrap) -@mixin deprecate($name, $deprecate-version, $remove-version, $ignore-warning) { +@mixin deprecate($name, $deprecate-version, $remove-version, $ignore-warning: false) { @if ($enable-deprecation-messages != false and $ignore-warning != true) { @warn "#{$name} has been deprecated as of #{$deprecate-version}. It will be removed entirely in #{$remove-version}."; } |
