mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-25 05:29:07 +01:00
24 lines
341 B
TypeScript
24 lines
341 B
TypeScript
|
/**
|
||
|
* Stats
|
||
|
*/
|
||
|
|
||
|
// Style
|
||
|
import './style.styl';
|
||
|
|
||
|
import * as riot from 'riot';
|
||
|
require('./tags');
|
||
|
import init from '../init';
|
||
|
|
||
|
document.title = 'Misskey Statistics';
|
||
|
|
||
|
/**
|
||
|
* init
|
||
|
*/
|
||
|
init(me => {
|
||
|
mount(document.createElement('mk-index'));
|
||
|
});
|
||
|
|
||
|
function mount(content) {
|
||
|
riot.mount(document.getElementById('app').appendChild(content));
|
||
|
}
|