CoreFiles by mySites.guru
_deprecate.scss10 lines, 613 bytes, from Joomla_5.4.5-Stable-Full_Package.zip
Raw History Compare with 5.4.4
md5
19856441739526899f902c884f3d2b58
sha1
235109d32a22d4a7043207eb2c1d50beec85d6de
sha256
690780a5f568226bb755f5e601add120af65474c8f2e07764d6f10bdb586eb11
// Deprecate mixin
//
// 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: 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}.";
  }
}

The same content is in 297 releases, Joomla 4.0.0-alpha7 to 6.3.0-alpha1. See them all, or every version of this file.