Skip to content
Permalink
Browse files

Merge pull request #5866 from jonathanmelville/master

Fixes multiple inclusions of _global.scss when compiling.
  • Loading branch information...
gakimball committed Sep 26, 2014
2 parents 32326c5 + 20aba54 commit 6d2c5d80b85f41f3e6a309191d72527aae19c4fb
Showing with 1 addition and 1 deletion.
  1. +1 −1 scss/foundation/_functions.scss
@@ -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;
}

3 comments on commit 6d2c5d8

@voku

This comment has been minimized.

Copy link
Contributor

replied Sep 26, 2014

with this commit, I can't build "foundation" with a new sass-version anymore ... :/

@gakimball

This comment has been minimized.

Copy link
Contributor Author

replied Sep 26, 2014

Foundation isn't compatible with Sass 3.4. It was very briefly, but we had to axe it to maintain compatibility with Sass 3.2 (needed for Rails users) and libsass. See this comment for more information.

@voku

This comment has been minimized.

Copy link
Contributor

replied Sep 26, 2014

ok & thx for the fast feedback! :)

Please sign in to comment.
You can’t perform that action at this time.