| Total Complexity | 5 |
| Complexity/F | 1 |
| Lines of Code | 33 |
| Function Count | 5 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | /* eslint-disable vue/one-component-per-file */ |
||
| 3 | import Vue from 'vue' |
||
| 4 | import utils from '@/js/mixins/utils'; |
||
| 5 | import createStore from '@/js/createStore' |
||
| 6 | import Explorer from '@/js/Explorer.vue' |
||
| 7 | import Player from '@/js/Player.vue' |
||
| 8 | import Field from '@/js/Field.vue' |
||
| 9 | import SelectorActions from '@/js/SelectorActions.vue' |
||
| 10 | |||
| 11 | Vue.config.productionTip = false |
||
| 12 | |||
| 13 | Vue.mixin(utils) |
||
| 14 | |||
| 15 | window.VideoExplorerConstructor = Vue.extend({ |
||
| 16 | render: h => h(Explorer), |
||
| 17 | store: createStore(), |
||
| 18 | }) |
||
| 19 | |||
| 20 | window.VideoFieldConstructor = Vue.extend({ |
||
| 21 | created() { |
||
| 22 | this.$store = createStore() |
||
| 23 | }, |
||
| 24 | render: h => h(Field) |
||
| 25 | }) |
||
| 26 | |||
| 27 | window.VideoSelectorActionsConstructor = Vue.extend({ |
||
| 28 | render: h => h(SelectorActions), |
||
| 29 | }) |
||
| 30 | |||
| 31 | window.VideoPlayerConstructor = Vue.extend({ |
||
| 32 | render: h => h(Player), |
||
| 33 | }) |
||
| 34 | |||
| 35 | import './css/videos.pcss' |
||
| 36 | |||
| 37 |