Skip to content

Commit 39a6fdb

Browse files
author
Avaer Kazmer
committed
Initialize WebXR polyfill instead of exporting it
1 parent c3a5e48 commit 39a6fdb

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ import GlobalContext from './GlobalContext.js';
1313

1414
import './xr-scene.js';
1515

16-
new WebXRPolyfill();
17-
1816
let bootstrapped = false;
1917
const _bootstrap = () => {
2018

src/webxr-polyfill.module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6132,4 +6132,4 @@ class WebXRPolyfill {
61326132
}
61336133
}
61346134

6135-
export default WebXRPolyfill;
6135+
new WebXRPolyfill();

0 commit comments

Comments
 (0)