mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-30 05:56:43 -06:00
24 lines
345 B
JavaScript
24 lines
345 B
JavaScript
|
/**
|
||
|
* Status
|
||
|
*/
|
||
|
|
||
|
// Style
|
||
|
import './style.styl';
|
||
|
|
||
|
import * as riot from 'riot';
|
||
|
require('./tags');
|
||
|
import init from '../init';
|
||
|
|
||
|
document.title = 'Misskey System Status';
|
||
|
|
||
|
/**
|
||
|
* init
|
||
|
*/
|
||
|
init(me => {
|
||
|
mount(document.createElement('mk-index'));
|
||
|
});
|
||
|
|
||
|
function mount(content) {
|
||
|
riot.mount(document.getElementById('app').appendChild(content));
|
||
|
}
|