eslint fixes.

This commit is contained in:
Roger Braun 2017-03-08 17:58:49 +01:00
parent ccbfc64bfc
commit bde1241843
2 changed files with 2 additions and 1 deletions

View file

@ -49,7 +49,7 @@ const conversation = {
} }
}, },
focused: function (id) { focused: function (id) {
if (!!this.statusoid.retweeted_status) { if (this.statusoid.retweeted_status) {
return (id === this.statusoid.retweeted_status.id) return (id === this.statusoid.retweeted_status.id)
} else { } else {
return (id === this.statusoid.id) return (id === this.statusoid.id)

View file

@ -1,6 +1,7 @@
import { cloneDeep } from 'lodash' import { cloneDeep } from 'lodash'
import { defaultState, mutations, findMaxId, prepareStatus, statusType } from '../../../../src/modules/statuses.js' import { defaultState, mutations, findMaxId, prepareStatus, statusType } from '../../../../src/modules/statuses.js'
// eslint-disable-next-line camelcase
const makeMockStatus = ({id, text, is_post_verb = true}) => { const makeMockStatus = ({id, text, is_post_verb = true}) => {
return { return {
id, id,