Skip to content

Commit

Permalink
Merge pull request #170 from engaging-computing/dev
Browse files Browse the repository at this point in the history
Lint Fix
  • Loading branch information
jasondkiesling authored May 28, 2019
2 parents 2273c7f + 42a6a5b commit 4e76a7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class View extends Component {
document.dispatchEvent(event);

let el = document.getElementById('rig');
el.components["movement-controls"].velocity = new THREE.Vector3(0, 0, 0)
el.components["movement-controls"].velocity = new THREE.Vector3(0, 0, 0);
}

// This renders json to aframe entities
Expand All @@ -49,7 +49,7 @@ class View extends Component {
<a-entity key={ent.id} {...flattened}>
{ent.els ? ent.els.map(it => this.helper(it)) : null}
</a-entity>
)
);
}
if (ent.text) {
delete flattened.text; // this takes care of a warning, may not be necessary
Expand Down

0 comments on commit 4e76a7a

Please sign in to comment.