add ability to abort from controller::onunload

This commit is contained in:
Leo Horie 2014-06-18 07:44:51 -04:00
parent 81f3367be9
commit b486e53b4b
3 changed files with 31 additions and 7 deletions

View file

@ -2,6 +2,10 @@
[v0.1.16](/mithril/archive/v0.1.6) - maintenance
### News:
- controller::onunload now receives an event parameter so that the unloading can be aborted [#135](https://github.com/lhorie/mithril.js/issues/135)
### Bug Fixes:
- prevent route change when only hash changes in non-hash mode [#107](https://github.com/lhorie/mithril.js/issues/107)