Skip to content

Commit

Permalink
chore: remove vue-shortkey directive initialization
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy committed Aug 21, 2024
1 parent 041417f commit c1040da
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import { createPinia, PiniaVuePlugin } from 'pinia'
import Vue from 'vue'
import VueRouter from 'vue-router'
import VueShortKey from 'vue-shortkey'
import Vuex from 'vuex'

import { getRequestToken } from '@nextcloud/auth'
Expand Down Expand Up @@ -47,7 +46,6 @@ Vue.prototype.OCA = OCA
Vue.use(PiniaVuePlugin)
Vue.use(Vuex)
Vue.use(VueRouter)
Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] })

const pinia = createPinia()

Expand Down
2 changes: 0 additions & 2 deletions src/mainFilesSidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import { createPinia, PiniaVuePlugin } from 'pinia'
import Vue from 'vue'
import VueShortKey from 'vue-shortkey'
import Vuex from 'vuex'

import { getRequestToken } from '@nextcloud/auth'
Expand Down Expand Up @@ -40,7 +39,6 @@ Vue.prototype.OCA = OCA

Vue.use(PiniaVuePlugin)
Vue.use(Vuex)
Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] })

const pinia = createPinia()

Expand Down
2 changes: 0 additions & 2 deletions src/mainPublicShareAuthSidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import { createPinia, PiniaVuePlugin } from 'pinia'
import Vue from 'vue'
import VueShortKey from 'vue-shortkey'
import Vuex from 'vuex'

import { getRequestToken } from '@nextcloud/auth'
Expand Down Expand Up @@ -40,7 +39,6 @@ Vue.prototype.OCA = OCA

Vue.use(PiniaVuePlugin)
Vue.use(Vuex)
Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] })

const pinia = createPinia()
store.dispatch('setMainContainerSelector', '#talk-sidebar')
Expand Down
2 changes: 0 additions & 2 deletions src/mainPublicShareSidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import { createPinia, PiniaVuePlugin } from 'pinia'
import Vue, { reactive } from 'vue'
import VueShortKey from 'vue-shortkey'
import Vuex from 'vuex'

import { getRequestToken } from '@nextcloud/auth'
Expand Down Expand Up @@ -40,7 +39,6 @@ Vue.prototype.OCA = OCA

Vue.use(PiniaVuePlugin)
Vue.use(Vuex)
Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] })

const pinia = createPinia()

Expand Down
2 changes: 0 additions & 2 deletions src/mainRecording.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import { createPinia, PiniaVuePlugin } from 'pinia'
import Vue from 'vue'
import VueRouter from 'vue-router'
import VueShortKey from 'vue-shortkey'
import Vuex from 'vuex'

import { getRequestToken } from '@nextcloud/auth'
Expand Down Expand Up @@ -50,7 +49,6 @@ Vue.prototype.OCA = OCA
Vue.use(PiniaVuePlugin)
Vue.use(Vuex)
Vue.use(VueRouter)
Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] })

const pinia = createPinia()

Expand Down

0 comments on commit c1040da

Please sign in to comment.