Fix linting.

This commit is contained in:
Roger Braun 2017-04-17 10:12:30 +02:00
parent dede7f7f2f
commit ce896d393b

View File

@ -21,6 +21,7 @@ const settings = {
methods: { methods: {
uploadAvatar ({target}) { uploadAvatar ({target}) {
const file = target.files[0] const file = target.files[0]
// eslint-disable-next-line no-undef
const reader = new FileReader() const reader = new FileReader()
reader.onload = ({target}) => { reader.onload = ({target}) => {
const img = target.result const img = target.result