mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 12:43:52 +08:00
618 B
618 B
Changes
- Mithril
- See changes from v0.2.x @ https://mithril.js.org/migration-v02x.html
- Kept
m.prop
andm.withAttr
- Actual Promises are used now instead of
m.deferred
- Component
- Use new Mithril lifecycle hooks (
component.config
is gone) component.render
is gone
- Use new Mithril lifecycle hooks (
- Application
- New different methods
app.bus
for some event hooking
- Translator
- Added
app.translator.transText
, automatically extracts text fromtranslator.trans
output
- Added
Forum
- Forum Application
- Renamed to
Forum
app.search
is no longer global, extend usingextend
- Renamed to