Handle shared attributes object in hyperscript (#1941)

This commit is contained in:
Ilya Sarantsev 2017-08-21 18:55:42 +03:00
parent b59ab50ba3
commit 9e6b175519
3 changed files with 30 additions and 0 deletions

View file

@ -36,6 +36,7 @@
#### Bug fixes:
- 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))
---