Created
July 28, 2014 14:44
-
-
Save crswll/6069ebaba50d29052eeb to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
$register: (); | |
@mixin register ($key) { | |
@if not index($register, $key) { | |
$register: append($register, $key); | |
} | |
} | |
@include register(foo); | |
@include register(bar); | |
@include register(bar); | |
@include register(baz); | |
body { | |
content: $register; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
content: foo bar baz; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment