sharkey/src/web/app/mobile/script.js
2017-05-18 05:06:55 +09:00

22 lines
304 B
JavaScript

/**
* Mobile Client
*/
// Style
import './style.styl';
require('./tags');
import init from '../init';
import route from './router';
/**
* init
*/
init(me => {
// http://qiita.com/junya/items/3ff380878f26ca447f85
document.body.setAttribute('ontouchstart', '');
// Start routing
route(me);
});