Skip to content

Instantly share code, notes, and snippets.

@KittyGiraudel
Last active August 29, 2015 14:06
Show Gist options
  • Select an option

  • Save KittyGiraudel/dda526ebe495b37714f2 to your computer and use it in GitHub Desktop.

Select an option

Save KittyGiraudel/dda526ebe495b37714f2 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
// Private API function
// ---
// @param {*} $a
// @param {*} $b
// @param {*} $c
// ---
// @return {*} Result, whatever
@function _private($a, $b, $c) {
@return $a $b $c;
}
// Public API function
// Basically an alias for `_private`
// Don't bother with arguments, just go wildcard
// ---
// @param {ArgList} $arguments - Refer to `_private` function
// ---
// @return `_private`
@function public($arguments...) {
@return _private($arguments...);
}
// Test
sass {
test: public("argument A", "argument B", "argument C");
}
sass {
test: "argument A" "argument B" "argument C";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment