add support for controller.prototype.onunload

This commit is contained in:
Leo Horie 2014-05-11 22:20:47 -04:00
parent 762eeb7e31
commit b23ffd1aee
7 changed files with 86 additions and 6 deletions

View file

@ -2,6 +2,10 @@
[v0.1.13](/mithril/archive/v0.1.13) - maintenance
### News:
- m.module now runs clean-up code in root module controllers that implement an `onunload` instance method [82](https://github.com/lhorie/mithril.js/issues/82)
### Bug Fixes:
- Removing CSS rules now diffs correctly [#79](https://github.com/lhorie/mithril.js/issues/79)