mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-26 17:56:43 -06:00
22 lines
357 B
TypeScript
22 lines
357 B
TypeScript
/**
|
|
* Mobile Client
|
|
*/
|
|
|
|
// Style
|
|
import './style.styl';
|
|
|
|
require('./tags');
|
|
import init from '../init';
|
|
import route from './router';
|
|
import MiOS from '../common/mios';
|
|
|
|
/**
|
|
* init
|
|
*/
|
|
init((mios: MiOS) => {
|
|
// http://qiita.com/junya/items/3ff380878f26ca447f85
|
|
document.body.setAttribute('ontouchstart', '');
|
|
|
|
// Start routing
|
|
route(mios);
|
|
}, true);
|