lint common

This commit is contained in:
Matteo Pagliazzi
2019-10-09 20:08:36 +02:00
parent 0c27fb24a5
commit e0e9811ab6
330 changed files with 6885 additions and 7668 deletions
@@ -262,11 +262,11 @@ import Content from '@/../../common/script/content';
export default {
computed: {
...mapState({user: 'user.data'}),
...mapState({ user: 'user.data' }),
},
data () {
let showInv = {};
let inv = {
const showInv = {};
const inv = {
gear: {},
special: {},
pets: {},
@@ -285,9 +285,9 @@ export default {
},
methods: {
setAllItems (type, value) {
let set = this.inv[type];
const set = this.inv[type];
for (let item in set) {
for (const item in set) {
if (set.hasOwnProperty(item)) {
set[item] = value;
}