Skip to content

Instantly share code, notes, and snippets.

@crswll
Created July 28, 2014 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crswll/6069ebaba50d29052eeb to your computer and use it in GitHub Desktop.
Save crswll/6069ebaba50d29052eeb to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// 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;
}
body {
content: foo bar baz;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment