misskey/src/web/app/mobile/script.js
syuilo d9e90e97f8 ✌️
2017-02-18 08:37:30 +09:00

23 lines
357 B
JavaScript

/**
* Mobile Client
*/
require('./tags');
const boot = require('../boot.js');
const mixins = require('./mixins');
const route = require('./router.ls');
/**
* Boot
*/
boot(me => {
// http://qiita.com/junya/items/3ff380878f26ca447f85
document.body.setAttribute('ontouchstart', '');
// Register mixins
mixins(me);
// Start routing
route(me);
});