diff --git a/scss.scss b/scss.scss index c541a858..497e07ed 100644 --- a/scss.scss +++ b/scss.scss @@ -202,11 +202,3 @@ $rfs-breakpoint-unit-cache: unit($rfs-breakpoint); @mixin responsive-font-size($fs, $important: false) { @include rfs($fs, $important); } - -$rfs-is-included: false !default; - -@if $rfs-is-included { - @warn "Watch out, RFS is included more than once!"; -} - -$rfs-is-included: true; diff --git a/stylus.styl b/stylus.styl index 7c4bea96..ecbb13b4 100644 --- a/stylus.styl +++ b/stylus.styl @@ -172,10 +172,3 @@ rfs($fs, $important = false) // The responsive-font-size mixin uses RFS to rescale font sizes responsive-font-size($fs, $important = false) rfs($fs, $important) - -$rfs-is-included ?= false - -if $rfs-is-included - warn("Watch out, RFS is included more than once!") - -$rfs-is-included = true diff --git a/test/lib/tests.js b/test/lib/tests.js index b5170f19..361b0bfb 100644 --- a/test/lib/tests.js +++ b/test/lib/tests.js @@ -37,6 +37,6 @@ module.exports = [ }, { id: 'test-10', - name: 'Include mixins multiple times (Should throw a warning for SCSS & Stylus and not fail for less & PostCSS)' + name: 'Include mixins multiple times' }, ];