Passed
Push — master ( afe190...3d5c82 )
by Michael
02:10
created

script/plugins/Menu/MenuItems/HeadingDropdownDispatcher.js   A

Complexity

Total Complexity 2
Complexity/F 2

Size

Lines of Code 7
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 0
eloc 4
c 0
b 0
f 0
nc 1
dl 0
loc 7
rs 10
wmc 2
mnd 0
bc 1
fnc 1
bpm 1
cpm 2
noi 0
1
import AbstractDropdownDispatcher from './AbstractDropdownDispatcher';
2
3
export default class HeadingDropdownDispatcher extends AbstractDropdownDispatcher {
4
    getMenuItem(schema) {
5
        return super.getMenuItem(
6
            schema,
7
            {
8
                label: LANG.plugins.prosemirror['label:headings'],
9
            },
10
        );
11
    }
12
}
13