Bundled output for commit 4f68984f2f [skip ci]
This commit is contained in:
parent
4f68984f2f
commit
0d36d0db85
3 changed files with 9 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ mithril.js [](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 👍.
|
||||
|
||||
|
|
|
|||
|
|
@ -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
2
mithril.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue