Last active
August 29, 2015 14:02
-
-
Save KittyGiraudel/4e19a57a5173636fda48 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
| // ---- | |
| // Sass (v3.3.8) | |
| // Compass (v1.0.0.alpha.19) | |
| // ---- | |
| // One thing I do like in programming languages | |
| // is the ability to "type" variables, | |
| // especially in functions signatures. | |
| // | |
| // Unfortunately, Sass does not allow this. So | |
| // I was thinking we could add the type right | |
| // before the argument in the signature. | |
| // | |
| // This seems like a decent way of showing what | |
| // is expected by the function/mixin. | |
| // | |
| // What do you think? | |
| // --- | |
| // Mixin | |
| // --- | |
| // @param [color] $theme: color from theme | |
| // @param [map] $options: options | |
| // --- | |
| @mixin whatever(/* color */ $theme, /* map */ $options) { | |
| // ... | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@elussich Is JSDoc working on Sass files?