Bundled output for commit 4f68984f2f [skip ci]

This commit is contained in:
Gandalf-the-Bot 2018-11-14 20:36:41 +00:00
parent 4f68984f2f
commit 0d36d0db85
3 changed files with 9 additions and 2 deletions

View file

@ -18,7 +18,7 @@ mithril.js [![NPM Version](https://img.shields.io/npm/v/mithril.svg)](https://ww
## What is Mithril?
A modern client-side Javascript framework for building Single Page Applications. It's small (<!-- size -->8.91 KB<!-- /size --> gzipped), fast and provides routing and XHR utilities out of the box.
A modern client-side Javascript framework for building Single Page Applications. It's small (<!-- size -->8.93 KB<!-- /size --> gzipped), fast and provides routing and XHR utilities out of the box.
Mithril is used by companies like Vimeo and Nike, and open source platforms like Lichess 👍.

View file

@ -1056,6 +1056,13 @@ var coreRenderer = function($window) {
if (child != null) onremove(child)
}
}
// Chrome emits a `blur` event on children1 when they are removed,
// but *before* they dereference their parent...
// https://stackoverflow.com/questions/21926083/failed-to-execute-removechild-on-node#22934552
// https://github.com/MithrilJS/mithril.js/issues/1771
if (vnode.events != null && vnode.events.onblur != null) {
vnode.dom.removeEventListener("blur", vnode.events, false)
}
}
}
//attrs2

2
mithril.min.js vendored

File diff suppressed because one or more lines are too long