mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 09:33:09 +02:00
21 lines
304 B
TypeScript
21 lines
304 B
TypeScript
/**
|
|
* 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);
|
|
});
|