Skip to content
Snippets Groups Projects
Commit 56c60822 authored by joni's avatar joni
Browse files

let -> const

parent e5968c7d
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ AFRAME.registerComponent("hand-pose-state", {
this.el.removeEventListener("model-loaded", this.setSelfAsStore);
},
setSelfAsStore(e) {
let poseEl = e.target.querySelector(`[hand-pose__${this.id}]`);
const poseEl = e.target.querySelector(`[hand-pose__${this.id}]`);
poseEl.components[`hand-pose__${this.id}`].store = this;
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment