bloodyowl/cornea — pull request #7 by bloodyowl (2014-06-14 12:19:44+00:00)
Title: 1.0.0

- adapts to bloody-events v1.0.0 (listen → on, stopListening → off, fire → emit)
- hooks events
- create
- destroy
- beforeRender
- afterRender
- beforeUpdate
- afterUpdate
- styleChange
- scoped styles
- getInitialData (react style)
- sync getInitialData : `function(){return {foo:"bar"}}`
- async getInitialData : `function(cb){ request.get("api/foo").then(cb)}`
- update({key:value, key2:value2}) instead of update(key, value)
- async render, returning a promise
- default binding tag is now a `span`