scss/toolkit/mixins/_layout.scss in titon-toolkit-2.1.7 vs scss/toolkit/mixins/_layout.scss in titon-toolkit-2.1.8

- old
+ new

@@ -1,13 +1,9 @@ // Export a component into the compiled output only once // Also check to see if it has been excluded from the output all together @mixin export($module) { - // Module is excluded, so do nothing - @if (index($modules-excluded, $module) != null) { - - // Module hasn't been exported yet, so export it and log usage - } @else if (index($modules-exported, $module) == null) { + @if (index($modules-excluded, $module) == null and index($modules-exported, $module) == null) { $modules-exported: append($modules-exported, $module) !global; @content; } }