Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2019-01-23 06:59:15 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-01-23 06:59:15 +0300
commitdfba588d0d1ea020634f1a8f2911c7222702b125 (patch)
treea952b537aff17190fb44c32a3eadddc0e2996292 /scss
parent5c56e9adff6c1ab8c7ae72429e6bc33b426541f0 (diff)
Add default value for `$ignore-warning` (#28103)
Diffstat (limited to 'scss')
-rw-r--r--scss/mixins/_deprecate.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/mixins/_deprecate.scss b/scss/mixins/_deprecate.scss
index 43d6f1ea04..df070bc596 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}.";
}