Skip to content

Commit

Permalink
Fix A-Frame requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenvergenz committed Nov 30, 2017
1 parent 3aa0931 commit e042453
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/visible.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import {AFrameComponent} from './AFrameComponent';

delete AFRAME.components['visible'];
// kill default visible component, replace with clone
if(window.AFRAME){
delete AFRAME.components['visible'];
}

export default class Visible extends AFrameComponent {
get schema(){ return {default: true}; }
Expand Down

0 comments on commit e042453

Please sign in to comment.