mizzkey/src/web/app/auth/script.js

24 lines
360 B
JavaScript
Raw Normal View History

2016-12-28 23:49:51 +01:00
/**
* Authorize Form
*/
2017-02-19 04:31:23 +01:00
// Style
2017-02-19 07:36:53 +01:00
import './style.styl';
2017-02-19 04:31:23 +01:00
2017-03-18 12:05:11 +01:00
import * as riot from 'riot';
require('./tags');
2017-05-17 22:06:55 +02:00
import init from '../init';
2017-03-18 12:05:11 +01:00
document.title = 'Misskey | アプリの連携';
2016-12-28 23:49:51 +01:00
/**
2017-05-17 22:06:55 +02:00
* init
2016-12-28 23:49:51 +01:00
*/
2017-05-17 22:06:55 +02:00
init(me => {
2016-12-28 23:49:51 +01:00
mount(document.createElement('mk-index'));
});
function mount(content) {
riot.mount(document.getElementById('app').appendChild(content));
}