Skip to content

Instantly share code, notes, and snippets.

@roryashfordbentley
Last active August 29, 2015 14:15
Show Gist options
  • Save roryashfordbentley/2c6c6f6fa0642c1cfe47 to your computer and use it in GitHub Desktop.
Save roryashfordbentley/2c6c6f6fa0642c1cfe47 to your computer and use it in GitHub Desktop.
Dockblockr example for sass mixins and functions
/**
* testFoo
*
* @param {[int]} $foo [description]
* @param {[int]} $bar [description]
*/
@mixin testFoo($foo,$bar){
width: $foo;
height: $bar;
}
/**
* testBar
*
* @param {[int]} $foo [first sum value]
* @param {[int]} $bar [second sum value]
* @return {[int]} [return sum of foo + bar]
*/
@function testBar($foo, $bar){
@return $foo + $bar;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment