From d5f92eed8c4b1a42e0b05f9da2fa86dbc17922f4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 27 May 2018 13:49:09 +0900 Subject: [PATCH] Refactor --- src/client/app/auth/views/index.vue | 6 +- .../app/common/scripts/streaming/home.ts | 4 +- .../app/common/views/components/avatar.vue | 2 +- .../components/messaging-room.message.vue | 4 +- .../views/components/messaging-room.vue | 8 +- .../app/common/views/components/messaging.vue | 2 +- .../app/common/views/components/note-menu.vue | 2 +- .../common/views/components/othello.game.vue | 10 +-- .../views/components/othello.gameroom.vue | 2 +- .../common/views/components/othello.room.vue | 16 ++-- .../views/components/twitter-setting.vue | 14 ++-- .../app/common/views/components/uploader.vue | 2 +- .../app/desktop/api/choose-drive-file.ts | 17 ++-- .../app/desktop/api/choose-drive-folder.ts | 15 ++-- src/client/app/desktop/api/update-avatar.ts | 32 ++++---- src/client/app/desktop/api/update-banner.ts | 32 ++++---- src/client/app/desktop/script.ts | 5 +- .../desktop/views/components/drive.file.vue | 4 +- .../app/desktop/views/components/home.vue | 4 +- .../views/components/note-detail.sub.vue | 2 +- .../desktop/views/components/note-detail.vue | 4 +- .../desktop/views/components/notes.note.vue | 16 ++-- .../app/desktop/views/components/notes.vue | 12 +-- .../desktop/views/components/post-form.vue | 2 +- .../desktop/views/components/settings.2fa.vue | 8 +- .../desktop/views/components/settings.api.vue | 2 +- .../views/components/settings.profile.vue | 18 ++--- .../app/desktop/views/components/settings.vue | 20 ++--- .../views/components/sub-note-content.vue | 2 +- .../views/components/timeline.core.vue | 10 +-- .../app/desktop/views/components/timeline.vue | 2 +- .../views/components/ui.header.account.vue | 6 +- .../views/components/ui.header.nav.vue | 6 +- .../components/ui.header.notifications.vue | 4 +- .../desktop/views/components/ui.header.vue | 16 ++-- .../app/desktop/views/components/ui.vue | 2 +- .../views/components/user-list-timeline.vue | 10 +-- .../desktop/views/components/user-preview.vue | 2 +- .../desktop/views/components/users-list.vue | 2 +- .../views/components/widget-container.vue | 6 +- .../app/desktop/views/components/window.vue | 4 +- src/client/app/desktop/views/pages/index.vue | 2 +- .../desktop/views/pages/user/user.header.vue | 2 +- .../desktop/views/pages/user/user.home.vue | 2 +- .../desktop/views/pages/user/user.profile.vue | 2 +- .../app/desktop/views/widgets/activity.vue | 2 +- .../app/desktop/views/widgets/profile.vue | 8 +- src/client/app/init.ts | 3 +- src/client/app/mios.ts | 79 +++++-------------- .../mobile/views/components/note-detail.vue | 4 +- .../app/mobile/views/components/note.vue | 16 ++-- .../app/mobile/views/components/notes.vue | 12 +-- .../app/mobile/views/components/post-form.vue | 4 +- .../views/components/sub-note-content.vue | 2 +- .../app/mobile/views/components/ui.header.vue | 12 +-- .../app/mobile/views/components/ui.nav.vue | 10 +-- src/client/app/mobile/views/components/ui.vue | 6 +- .../views/components/user-list-timeline.vue | 10 +-- .../mobile/views/components/users-list.vue | 2 +- .../app/mobile/views/pages/home.timeline.vue | 10 +-- src/client/app/mobile/views/pages/home.vue | 2 +- src/client/app/mobile/views/pages/index.vue | 2 +- .../app/mobile/views/pages/settings.vue | 24 +++--- .../views/pages/settings/settings.profile.vue | 30 +++---- src/client/app/mobile/views/pages/user.vue | 2 +- .../app/mobile/views/pages/user/home.vue | 2 +- .../app/mobile/views/widgets/activity.vue | 2 +- .../app/mobile/views/widgets/profile.vue | 6 +- src/client/app/store.ts | 49 +++++++++--- 69 files changed, 314 insertions(+), 330 deletions(-) diff --git a/src/client/app/auth/views/index.vue b/src/client/app/auth/views/index.vue index 0fcd9bfe5..e53bbd026 100644 --- a/src/client/app/auth/views/index.vue +++ b/src/client/app/auth/views/index.vue @@ -1,6 +1,6 @@