iceshrimp/src/web/app/mobile/script.js
syuilo ac225d4ea6 🍣
Closes #12, #227 and #58
2017-03-18 20:05:11 +09:00

22 lines
304 B
JavaScript

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