more linting, lots of undefined vars or unused vars

This commit is contained in:
Kevin Ngo
2018-10-13 17:26:03 -07:00
parent e94ab73212
commit 672474587b
12 changed files with 16 additions and 30 deletions

View File

@@ -13,6 +13,8 @@ AFRAME.registerComponent('materials', {
},
update: function () {
this.el.object3D.traverse(o => o.material = this.system[this.data]);
this.el.object3D.traverse(o => {
o.material = this.system[this.data]
});
}
});