Handle shared attributes object in hyperscript (#1941)

This commit is contained in:
Ilya Sarantsev 2017-08-21 18:55:42 +03:00 committed by Pierre-Yves Gérardy
parent b38367aa30
commit 0986140ed5
3 changed files with 30 additions and 0 deletions

View file

@ -19,6 +19,7 @@
- core: render() function can no longer prevent from changing `document.activeElement` in lifecycle hooks ([#1988](https://github.com/MithrilJS/mithril.js/pull/1988), [@purplecode](https://github.com/purplecode))
- core: don't call `onremove` on the children of components that return null from the view [#1921](https://github.com/MithrilJS/mithril.js/issues/1921) [octavore](https://github.com/octavore) ([#1922](https://github.com/MithrilJS/mithril.js/pull/1922))
- hypertext: correct handling of shared attributes object passed to `m()`. Will copy attributes when it's necessary [#1941](https://github.com/MithrilJS/mithril.js/issues/1941) [s-ilya](https://github.com/s-ilya) ([#1942](https://github.com/MithrilJS/mithril.js/pull/1942))
---