Seed Barista - v0.3.2
Updates
- Add enableCSSOM option, which outputs the PostCSS AST (this is set to true by default)
- Refactor parser (
$) and barista to output new instance everytime barista() or barista().$ () is used - Cleanup barista.render method (split it into smaller methods)
- Write tests!!
enableCSSOM
Type: boolean
Default: true
Setting to enable PostCSS parsing that generates the CSS object model (using PostCSS's abstract syntax tree).
var output = barista({
enableCSSOM: false,
});Note: Setting it to false will result in output.data and output.$() returning false, since both rely on the CSSOM.
Resolves: #8