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: {
uploadAvatar ({target}) {
const file = target.files[0]
// eslint-disable-next-line no-undef
const reader = new FileReader()
reader.onload = ({target}) => {
const img = target.result