1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 23:47:32 +02:00

Patch Mithril with a bidi attribute

Enables quick bidirectional bindings. So instead of this:

<input value={prop()} oninput={m.withAttr('value', prop)}/>

... we can do this:

<input bidi={prop}/>
This commit is contained in:
Toby Zerner
2015-09-18 13:06:37 +09:30
parent 6f5433a81c
commit 9544d7dd6a
4 changed files with 12 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ gulp({
bowerDir + '/es6-micro-loader/dist/system-polyfill.js',
bowerDir + '/mithril/mithril.js',
bowerDir + '/m.attrs.bidi/bidi.js',
bowerDir + '/jquery/dist/jquery.js',
bowerDir + '/moment/moment.js',