fix more svelte undefined warnings (#250)

This commit is contained in:
Nolan Lawson 2018-04-30 19:06:08 -07:00 committed by GitHub
parent 814716cc8d
commit 429df7fbc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View file

@ -51,7 +51,8 @@
}, },
data: () => ({ data: () => ({
loading: true, loading: true,
accounts: [] accounts: [],
accountActions: void 0
}), }),
store: () => store, store: () => store,
components: { components: {

View file

@ -157,7 +157,8 @@
isReply: false, isReply: false,
autoFocus: false, autoFocus: false,
sticky: false, sticky: false,
hideBottomBorder: false hideBottomBorder: false,
hidden: false
}), }),
store: () => store, store: () => store,
computed: { computed: {

View file

@ -19,6 +19,9 @@
on('postedStatus', this, this.onPostedStatus) on('postedStatus', this, this.onPostedStatus)
onCreateDialog.call(this) onCreateDialog.call(this)
}, },
data: () => ({
title: void 0
}),
methods: { methods: {
show, show,
close, close,

View file

@ -144,7 +144,8 @@
shouldAnimate: !process.browser || document.getElementsByClassName('modal-dialog').length < 2, shouldAnimate: !process.browser || document.getElementsByClassName('modal-dialog').length < 2,
fadedIn: false, fadedIn: false,
muted: false, muted: false,
className: void 0 className: void 0,
title: void 0
}), }),
computed: { computed: {
backdropClass: (fadedIn, shouldAnimate) => { backdropClass: (fadedIn, shouldAnimate) => {