misskey/src/web/app/status/script.ts

24 lines
345 B
TypeScript
Raw Normal View History

/**
* Status
*/
// Style
import './style.styl';
import * as riot from 'riot';
require('./tags');
import init from '../init';
document.title = 'Misskey System Status';
/**
* init
*/
2017-11-15 19:06:52 +01:00
init(() => {
mount(document.createElement('mk-index'));
});
function mount(content) {
riot.mount(document.getElementById('app').appendChild(content));
}