Skip to content

Commit

Permalink
fix "AFRAME is not defined"
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdesl committed Dec 24, 2015
1 parent 12c0e11 commit 41fb45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Browser distrubution of the A-Frame component.
(function () {
if (!AFRAME) {
if (typeof AFRAME === 'undefined') {
console.error('Component attempted to register before AFRAME was available.');
return;
}
Expand Down

0 comments on commit 41fb45c

Please sign in to comment.