lhorie/mithril.js — pull request #6 by randymorris (2014-03-19 01:58:19+00:00)
Title: Fix custom `TodoList` implementation API

The example custom implementation of `TodoList` doesn't take into account that the `TodoList` is created with `new`. This change implements it as a function instead of an object to remedy this.