Total Complexity | 2 |
Complexity/F | 2 |
Lines of Code | 11 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | import AbstractDropdownDispatcher from './AbstractDropdownDispatcher'; |
||
2 | import { svgIcon } from '../MDI'; |
||
3 | |||
4 | export default class TableDropdownDispatcher extends AbstractDropdownDispatcher { |
||
5 | getMenuItem(schema) { |
||
6 | return super.getMenuItem(schema, { |
||
7 | icon: svgIcon('table-edit'), |
||
8 | label: LANG.plugins.prosemirror['label:table-ops'], |
||
|
|||
9 | }); |
||
10 | } |
||
11 | } |
||
12 |
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.