Skip to content

Commit

Permalink
Merge pull request #1089 from nextcloud/backport/1088/stable23
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Dec 15, 2021
2 parents 6afe00d + f2b575b commit 1b50a53
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions js/viewer-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/viewer-main.js.map

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@nextcloud/router": "^2.0.0",
"@nextcloud/vue": "^4.2.0",
"@skjnldsv/vue-plyr": "^7.0.1-alpha.0",
"@nextcloud/l10n": "^1.4.1",
"camelcase": "^6.2.0",
"debounce": "^1.2.1",
"nextcloud-server": "^0.15.10",
Expand Down
8 changes: 6 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@
import Vue from 'vue'
import ViewerComponent from './views/Viewer'
import ViewerService from './services/Viewer'
import { translate as t } from '@nextcloud/l10n'

import { generateFilePath } from '@nextcloud/router'

Vue.prototype.t = t
Vue.prototype.n = n
Vue.mixin({
methods: {
t,
},
})

Vue.prototype.OC = OC
Vue.prototype.OCA = OCA
Expand Down

0 comments on commit 1b50a53

Please sign in to comment.