summaryrefslogtreecommitdiff
path: root/src/client/app/app.vue
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-01-30 04:37:25 +0900
committerGitHub <noreply@github.com>2020-01-30 04:37:25 +0900
commitf6154dc0af1a0d65819e87240f4385f9573095cb (patch)
tree699a5ca07d6727b7f8497d4769f25d6d62f94b5a /src/client/app/app.vue
parentAdd Event activity-type support (#5785) (diff)
downloadmisskey-f6154dc0af1a0d65819e87240f4385f9573095cb.tar.gz
misskey-f6154dc0af1a0d65819e87240f4385f9573095cb.tar.bz2
misskey-f6154dc0af1a0d65819e87240f4385f9573095cb.zip
v12 (#5712)
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com> Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
Diffstat (limited to 'src/client/app/app.vue')
-rw-r--r--src/client/app/app.vue32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/client/app/app.vue b/src/client/app/app.vue
deleted file mode 100644
index e639c9f9ac..0000000000
--- a/src/client/app/app.vue
+++ /dev/null
@@ -1,32 +0,0 @@
-<template>
-<router-view id="app" v-hotkey.global="keymap"></router-view>
-</template>
-
-<script lang="ts">
-import Vue from 'vue';
-import { url, lang } from './config';
-
-export default Vue.extend({
- computed: {
- keymap(): any {
- return {
- 'h|slash': this.help,
- 'd': this.dark
- };
- }
- },
-
- methods: {
- help() {
- window.open(`${url}/docs/${lang}/keyboard-shortcut`, '_blank');
- },
-
- dark() {
- this.$store.commit('device/set', {
- key: 'darkmode',
- value: !this.$store.state.device.darkmode
- });
- }
- }
-});
-</script>