framework/js
Toby Zerner 82be1cea5d Fix post header items sometimes getting out of order. closes flarum/core#975
Interesting bug. Turns out that the JSX for the post header item list was producing m('ul', null, [children]), as you would expect. But Mithril 0.1.x interprets the null as another child rather than an attributes splat. This results in an empty text node being added to the DOM, which mucks up Mithril's diffing algorithm when it tries to add/move the items that we provide in the children array. The workaround is to not use JSX so we can get rid of that null/empty text node. This behaviour has been fixed in Mithril 1.0 so we will be able to remove the workaround.
2016-08-27 23:41:54 +09:30
..
admin Fix post header items sometimes getting out of order. closes flarum/core#975 2016-08-27 23:41:54 +09:30
forum Fix post header items sometimes getting out of order. closes flarum/core#975 2016-08-27 23:41:54 +09:30
lib Avoid JSX to workaround Mithril 0.1.x weirdness. closes flarum/core#975 2016-08-27 23:33:34 +09:30
.gitignore Share bower components between forum/admin 2015-05-05 09:16:34 +09:30
bower.json Update bower deps 2016-08-27 23:37:16 +09:30