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
Show hidden characters
| { | |
| "maxerr" : 50, // {int} Maximum error before stopping | |
| // Enforcing | |
| "bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.) | |
| "camelcase" : false, // true: Identifiers must be in camelCase | |
| "curly" : true, // true: Require {} for every new block or scope | |
| "eqeqeq" : true, // true: Require triple equals (===) for comparison | |
| "forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty() | |
| "immed" : false, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());` |
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
| { | |
| /*** Globals ***/ | |
| // To ignore any custom global variables, enable the `predef` option and list | |
| // your variables within it. | |
| "predef": [ | |
| "exports", | |
| "YUITest", | |
| "YUI", | |
| "YUI_config", | |
| "YAHOO", |
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
| .element { | |
| position: relative; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| } | |
| SASS: | |
| @mixin vertical-align { | |
| position: relative; |