2017-08-12 15:17:03 +09:00
|
|
|
/**
|
|
|
|
* Stats
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Style
|
|
|
|
import './style.styl';
|
|
|
|
|
|
|
|
import * as riot from 'riot';
|
|
|
|
require('./tags');
|
|
|
|
import init from '../init';
|
|
|
|
|
|
|
|
document.title = 'Misskey Statistics';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* init
|
|
|
|
*/
|
2017-11-16 03:06:52 +09:00
|
|
|
init(() => {
|
2017-08-12 15:17:03 +09:00
|
|
|
mount(document.createElement('mk-index'));
|
|
|
|
});
|
|
|
|
|
|
|
|
function mount(content) {
|
|
|
|
riot.mount(document.getElementById('app').appendChild(content));
|
|
|
|
}
|