]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fixes multiple inclusions of _global.scss when compiling. 5866/head
authorJonathan Melville <jonathan@jonathanmelville.com>
Fri, 26 Sep 2014 15:09:00 +0000 (11:09 -0400)
committerJonathan Melville <jonathan@jonathanmelville.com>
Fri, 26 Sep 2014 15:09:00 +0000 (11:09 -0400)
scss/foundation/_functions.scss

index 12d31db522d9ff260ab13faed1ec42c7ece34131..f018ced0e211f1fb75467fb822d52091e935f038 100644 (file)
@@ -9,7 +9,7 @@ $rem-base: 16px !default;
 // We use this to prevent styles from being loaded multiple times for compenents that rely on other components. 
 $modules: () !default;
 @mixin exports($name) {
-  @if(not index($modules, $name)) {
+  @if (index($modules, $name) == false) {
     $modules: append($modules, $name);
     @content;
   }