more strict lint
This commit is contained in:
parent
c5529958d5
commit
9ae814dfe4
21 changed files with 211 additions and 157 deletions
|
@ -8,10 +8,12 @@ export default function reducer(state = defaultState, action = {}) {
|
|||
switch (action.type) {
|
||||
case actions.INPUT_KEY_PRESS:
|
||||
return Object.assign({}, state, {
|
||||
keys: state.keys.concat([{
|
||||
code: action.code,
|
||||
ctrl: action.ctrl
|
||||
}])
|
||||
keys: state.keys.concat([
|
||||
{
|
||||
code: action.code,
|
||||
ctrl: action.ctrl
|
||||
}
|
||||
])
|
||||
});
|
||||
case actions.INPUT_CLEAR_KEYS:
|
||||
return Object.assign({}, state, {
|
||||
|
|
Reference in a new issue