ff-stream-web

git clone git://archive.git.mtrnord.blog/MTRNord/ff-stream-web.git
Log | Files | Refs | README | LICENSE

commit 6433dbe8b65451a329c98b520fa2ba2d28c64d87
parent 0d65fd510997175182bb56340cb11fee5a17faf0
Author: Konstantin Tarkus <hello@tarkus.me>
Date:   Thu, 27 Aug 2015 00:30:58 +0300

Merge branch 'd0ntth1nc-master'

Diffstat:
Msrc/app.js | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/app.js b/src/app.js @@ -28,6 +28,8 @@ const context = { }; function run() { + FastClick.attach(document.body); + router.dispatch({ path: window.location.pathname, context }, (state, component) => { ReactDOM.render(component, container, () => { let css = document.getElementById('css'); @@ -58,4 +60,4 @@ new Promise(resolve => { window.attachEvent('onload', resolve); window.attachEvent('popstate', handlePopState); } -}).then(() => FastClick.attach(document.body)).then(run); +}).then(run);