mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-13 11:13:08 +02:00
23 lines
341 B
TypeScript
23 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(() => {
|
|
mount(document.createElement('mk-index'));
|
|
});
|
|
|
|
function mount(content) {
|
|
riot.mount(document.getElementById('app').appendChild(content));
|
|
}
|