misskey/src/web/app/auth/script.js
syuilo 45e8331e26 🍣
Closes #12, #227 and #58
2017-03-18 20:05:11 +09:00

24 lines
360 B
JavaScript

/**
* Authorize Form
*/
// Style
import './style.styl';
import * as riot from 'riot';
require('./tags');
import boot from '../boot';
document.title = 'Misskey | アプリの連携';
/**
* Boot
*/
boot(me => {
mount(document.createElement('mk-index'));
});
function mount(content) {
riot.mount(document.getElementById('app').appendChild(content));
}