3 ms·
The quotes around the selector are necessary in CoffeeScript since it does not comprehend the syntax of CSS (# denotes comments). The `do ->` is a self-invokin
by pyrotechnick 14y ago
The quotes around the selector are necessary in CoffeeScript since it does not comprehend the syntax of CSS (# denotes comments).
The `do ->` is a self-invoking function which allows for logic and computation in style definitions.
These are particularly concise in CoffeeScript since functions implicitly return the result of their final expression.