Last active
August 29, 2015 14:15
-
-
Save roryashfordbentley/2c6c6f6fa0642c1cfe47 to your computer and use it in GitHub Desktop.
Dockblockr example for sass mixins and functions
This file contains hidden or 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
/** | |
* 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