Completed
Push — master ( 3b8b0c...578b04 )
by Michael
02:39
created

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

Complexity

Total Complexity 2
Complexity/F 2

Size

Lines of Code 10
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 0
eloc 6
c 0
b 0
f 0
nc 1
dl 0
loc 10
rs 10
wmc 2
mnd 0
bc 1
fnc 1
bpm 1
cpm 2
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A SmileyDropdownDispatcher.js ➔ getMenuItem 0 5 1
1
import AbstractDropdownDispatcher from './AbstractDropdownDispatcher';
2
import { svgIcon } from '../MDI';
3
4
export default class SmileyDropdownDispatcher extends AbstractDropdownDispatcher {
5
    getMenuItem(schema) {
6
        return super.getMenuItem(schema, {
7
            icon: svgIcon('emoticon'),
8
        });
9
    }
10
}
11