Components, mixins, patterns and sample code for mithril (lhorie/mithril.js)