From 1f3e128ed50ccb27096ab75f9e93cbcf8b5cef2e Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 22 Feb 2017 01:20:57 +0900 Subject: [PATCH] Fix --- src/web/app/common/tags/messaging/room.tag | 4 ++-- src/web/app/common/tags/number.tag | 3 +-- src/web/app/desktop/tags/analog-clock.tag | 10 ++++------ src/web/app/desktop/tags/drive/file.tag | 4 ++-- .../app/desktop/tags/home-widgets/calendar.tag | 2 +- .../desktop/tags/home-widgets/notifications.tag | 2 +- src/web/app/desktop/tags/repost-form.tag | 1 + src/web/app/desktop/tags/timeline-post-sub.tag | 16 +++++++--------- src/web/app/desktop/tags/ui.tag | 2 +- src/web/app/desktop/tags/user-timeline.tag | 1 + src/web/app/mobile/tags/drive/file.tag | 2 +- src/web/app/mobile/tags/page/drive.tag | 1 + src/web/app/mobile/tags/user-followers.tag | 2 +- webpack.config.ts | 1 - 14 files changed, 24 insertions(+), 27 deletions(-) diff --git a/src/web/app/common/tags/messaging/room.tag b/src/web/app/common/tags/messaging/room.tag index cb676badb..c7fed91db 100644 --- a/src/web/app/common/tags/messaging/room.tag +++ b/src/web/app/common/tags/messaging/room.tag @@ -136,8 +136,8 @@ this.connection = new this.MessagingStreamConnection(this.I, this.user.id); this.on('mount', () => { - this.connection.event.on('message' this.onMessage); - this.connection.event.on('read' this.onRead); + this.connection.event.on('message', this.onMessage); + this.connection.event.on('read', this.onRead); document.addEventListener('visibilitychange', this.onVisibilitychange); diff --git a/src/web/app/common/tags/number.tag b/src/web/app/common/tags/number.tag index 212a80b73..7dcbceba6 100644 --- a/src/web/app/common/tags/number.tag +++ b/src/web/app/common/tags/number.tag @@ -2,13 +2,12 @@ diff --git a/src/web/app/desktop/tags/repost-form.tag b/src/web/app/desktop/tags/repost-form.tag index de10a37f0..e5101d9f2 100644 --- a/src/web/app/desktop/tags/repost-form.tag +++ b/src/web/app/desktop/tags/repost-form.tag @@ -139,6 +139,7 @@ wait: false }); }); + }; this.onquote = () => { this.quote = true; diff --git a/src/web/app/desktop/tags/timeline-post-sub.tag b/src/web/app/desktop/tags/timeline-post-sub.tag index 2c76527f1..905bc7aac 100644 --- a/src/web/app/desktop/tags/timeline-post-sub.tag +++ b/src/web/app/desktop/tags/timeline-post-sub.tag @@ -8,15 +8,6 @@ - + diff --git a/src/web/app/desktop/tags/ui.tag b/src/web/app/desktop/tags/ui.tag index 832299e32..0669d252a 100644 --- a/src/web/app/desktop/tags/ui.tag +++ b/src/web/app/desktop/tags/ui.tag @@ -14,7 +14,7 @@ this.mixin('i'); this.openPostForm = () => { - riot.mount(document.body.appendChild(document.createElement('mk-post-form-window'); + riot.mount(document.body.appendChild(document.createElement('mk-post-form-window'))); }; this.on('mount', () => { diff --git a/src/web/app/desktop/tags/user-timeline.tag b/src/web/app/desktop/tags/user-timeline.tag index e8ff3dc05..4851eb0a1 100644 --- a/src/web/app/desktop/tags/user-timeline.tag +++ b/src/web/app/desktop/tags/user-timeline.tag @@ -70,6 +70,7 @@ }); this.fetch(() => this.trigger('loaded')); + }); }); this.on('unmount', () => { diff --git a/src/web/app/mobile/tags/drive/file.tag b/src/web/app/mobile/tags/drive/file.tag index f800fd69e..4b8216219 100644 --- a/src/web/app/mobile/tags/drive/file.tag +++ b/src/web/app/mobile/tags/drive/file.tag @@ -122,7 +122,7 @@ diff --git a/src/web/app/mobile/tags/user-followers.tag b/src/web/app/mobile/tags/user-followers.tag index 3a1fc1d4b..e939da6c6 100644 --- a/src/web/app/mobile/tags/user-followers.tag +++ b/src/web/app/mobile/tags/user-followers.tag @@ -23,6 +23,6 @@ this.refs.list.on('loaded', () => { this.trigger('loaded'); }); - }; + }); diff --git a/webpack.config.ts b/webpack.config.ts index 6928536ff..66d4eb2e1 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -31,7 +31,6 @@ module.exports = (config, commit, env) => { loader: 'riot-tag-loader', query: { hot: false, - type: 'es6', style: 'stylus', expr: false, compact: true,