| Total Complexity | 1 |
| Complexity/F | 1 |
| Lines of Code | 15 |
| Function Count | 1 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import template from './sw-extension-rating-modal.html.twig'; |
||
| 2 | import './sw-extension-rating-modal.scss'; |
||
| 3 | |||
| 4 | const { Component } = Shopware; |
||
|
|
|||
| 5 | |||
| 6 | Component.register('sw-extension-rating-modal', { |
||
| 7 | template, |
||
| 8 | extendsFrom: 'sw-review-creation', |
||
| 9 | |||
| 10 | methods: { |
||
| 11 | emitClose() { |
||
| 12 | this.$emit('modal-close'); |
||
| 13 | } |
||
| 14 | } |
||
| 15 | }); |
||
| 16 |
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.