diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-08-12 15:17:03 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-08-12 15:17:03 +0900 |
| commit | dd1aa8c7d6ec003fcf187c1fc8e6c56f60723414 (patch) | |
| tree | 02138842254347d2ee8ceea73e439de040cc9ccb /src/web/app/stats/script.js | |
| parent | Merge pull request #687 from syuilo/greenkeeper/reconnecting-websocket-3.1.1 (diff) | |
| download | misskey-dd1aa8c7d6ec003fcf187c1fc8e6c56f60723414.tar.gz misskey-dd1aa8c7d6ec003fcf187c1fc8e6c56f60723414.tar.bz2 misskey-dd1aa8c7d6ec003fcf187c1fc8e6c56f60723414.zip | |
stats
Diffstat (limited to 'src/web/app/stats/script.js')
| -rw-r--r-- | src/web/app/stats/script.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/web/app/stats/script.js b/src/web/app/stats/script.js new file mode 100644 index 0000000000..75063501bb --- /dev/null +++ b/src/web/app/stats/script.js @@ -0,0 +1,23 @@ +/** + * Stats + */ + +// Style +import './style.styl'; + +import * as riot from 'riot'; +require('./tags'); +import init from '../init'; + +document.title = 'Misskey Statistics'; + +/** + * init + */ +init(me => { + mount(document.createElement('mk-index')); +}); + +function mount(content) { + riot.mount(document.getElementById('app').appendChild(content)); +} |