fix: remove useless noop methods (#1325)

instance-block-2
Nolan Lawson 2019-07-08 19:26:37 -07:00 zatwierdzone przez GitHub
rodzic 68343a7a09
commit ade28cca5d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 0 dodań i 8 usunięć

Wyświetl plik

@ -89,12 +89,8 @@
</style>
<script>
import SvgIcon from '../../SvgIcon.html'
import noop from 'lodash-es/noop'
export default {
methods: {
noop
},
components: {
SvgIcon
}

Wyświetl plik

@ -42,7 +42,6 @@
import { goto } from '../../../../__sapper__/client'
import { composeNewStatusMentioning } from '../../_actions/mention'
import { classname } from '../../_utils/classname'
import noop from 'lodash-es/noop'
import { createStatusOrNotificationUuid } from '../../_utils/createStatusOrNotificationUuid'
export default {
@ -77,7 +76,6 @@
))
},
methods: {
noop,
openAuthorProfile () {
let { accountId } = this.get()
goto(`/accounts/${accountId}`)

Wyświetl plik

@ -134,7 +134,6 @@
import { LONG_POST_LENGTH, LONG_POST_TEXT } from '../../_static/statuses'
import { absoluteDateFormatter } from '../../_utils/formatters'
import { composeNewStatusMentioning } from '../../_actions/mention'
import noop from 'lodash-es/noop'
import { createStatusOrNotificationUuid } from '../../_utils/createStatusOrNotificationUuid'
import { statusHtmlToPlainText } from '../../_utils/statusHtmlToPlainText'
@ -184,7 +183,6 @@
}),
store: () => store,
methods: {
noop,
onClickOrKeydown (e) {
let { type, keyCode, target } = e