Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 9 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | const { Component } = Shopware; |
||
|
|||
2 | |||
3 | Component.extend('sw-cms-el-product-name', 'sw-cms-el-text', { |
||
4 | methods: { |
||
5 | createdComponent() { |
||
6 | this.initElementConfig('product-name'); |
||
7 | } |
||
8 | } |
||
9 | }); |
||
10 |
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.