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