| Total Complexity | 2 |
| Complexity/F | 2 |
| Lines of Code | 32 |
| Function Count | 1 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import VueEvents from 'vue-events'; |
||
| 2 | import Confetti from '@/vue/common/Confetti.vue'; |
||
| 3 | import RadialBarChart from '@/vue/charts/common/RadialBarChart.vue'; |
||
| 4 | import SimpleBarChart from '@/vue/charts/common/SimpleBarChart.vue'; |
||
| 5 | import DashboardFileList from '@/vue/charts/dashboard/DashboardFileList.vue'; |
||
| 6 | import SampleRangePicker from '@/vue/common/SampleRangePicker.vue'; |
||
| 7 | import SamplePaneFooter from '@/vue/common/SamplePaneFooter.vue'; |
||
| 8 | import RecommendationsList from '@/vue/common/RecommendationsList.vue'; |
||
| 9 | |||
| 10 | Vue.use(VueEvents); |
||
|
|
|||
| 11 | // Create our vue instance |
||
| 12 | const vm = new Vue({ |
||
| 13 | el: "#cp-nav-content", |
||
| 14 | components: { |
||
| 15 | 'confetti': Confetti, |
||
| 16 | 'radial-bar-chart': RadialBarChart, |
||
| 17 | 'simple-bar-chart': SimpleBarChart, |
||
| 18 | 'dashboard-file-list': DashboardFileList, |
||
| 19 | 'sample-range-picker': SampleRangePicker, |
||
| 20 | 'sample-pane-footer': SamplePaneFooter, |
||
| 21 | 'recommendations-list': RecommendationsList, |
||
| 22 | }, |
||
| 23 | data: { |
||
| 24 | }, |
||
| 25 | mounted() { |
||
| 26 | }, |
||
| 27 | }); |
||
| 28 | |||
| 29 | // Accept HMR as per: https://webpack.js.org/api/hot-module-replacement#accept |
||
| 30 | if (module.hot) { |
||
| 31 | module.hot.accept(); |
||
| 32 | } |
||
| 33 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.