GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 36194c...3c18d9 )
by Benjamin
01:42
created

src/reducers/components/plugins/editor.js   A

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 39
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 2
Metric Value
cc 0
wmc 0
c 2
b 0
f 2
nc 1
mnd 0
bc 0
fnc 0
dl 0
loc 39
rs 10
bpm 0
cpm 0
noi 0
1
import { fromJS } from 'immutable';
2
3
import {
4
    EDIT_ROW,
5
    DISMISS_EDITOR,
6
    ROW_VALUE_CHANGE,
7
    CANCEL_ROW,
8
    REMOVE_ROW,
9
    REPOSITION_EDITOR,
10
    SET_DATA
11
} from '../../../constants/ActionTypes';
12
13
import
14
    handleActions
15
from './../../../util/handleActions';
16
17
import {
18
    editRow,
19
    removeEditorState,
20
    setData,
21
    repositionEditor,
22
    rowValueChange
23
} from './../../actionHelpers/plugins/editor';
24
25
import { generateLastUpdate } from './../../../util/lastUpdate';
26
27
const initialState = fromJS({
28
    lastUpdate: generateLastUpdate()
29
});
30
31
export default handleActions({
32
    [EDIT_ROW]: editRow,
33
    [DISMISS_EDITOR]: removeEditorState,
34
    [CANCEL_ROW]: removeEditorState,
35
    [REMOVE_ROW]: removeEditorState,
36
    [SET_DATA]: setData,
37
    [REPOSITION_EDITOR]: repositionEditor,
38
    [ROW_VALUE_CHANGE]: rowValueChange
39
}, initialState);
40