Update client dependencies

This commit is contained in:
Ken-Håvard Lieng 2017-02-16 03:55:50 +01:00
parent c5062066cb
commit 77b53bfc5e
23 changed files with 1858 additions and 1363 deletions

View file

@ -5,7 +5,7 @@ export default function createCommandMiddleware(type, handlers) {
const command = words[0];
const params = words.slice(1);
if (handlers.hasOwnProperty(command)) {
if (Object.prototype.hasOwnProperty.call(handlers, command)) {
handlers[command]({
dispatch: store.dispatch,
getState: store.getState,