Genki - v0.0.4
Updates
- Refactor genki.js when required to have fresh JSDOM environments on start
- Refactor generateStyles() -> addStyle() to push new barista styles to a styles array
- Add tests for addStyle()
Example:
var world = genki.start();
world.addStyle({
content: `.hosei { background: blue }`
});
world.addStyle({
content: `.hamada { background: red }`
});Resolves: #3