stylobate
Version:
Framework for writing really abstract CSS in Stylus
10 lines (8 loc) • 390 B
text/stylus
deprecate($where, $what, $throw_error = false, $text = '`%s` param is deprecated, replace it with the appropriate setter.')
if $what in $where
if $throw_error
error('' + ($text % $what))
else
warn('' + ($text % $what))
deprecate_removed($where, $what)
deprecate($where, $what, true, '`%s` param was deprecated and removed, replace it with the appropriate setter.')