Skip to content

Commit aab3dff

Browse files
committed
fix(three): polyfill import
1 parent 0946874 commit aab3dff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/canvas-three/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
declare var global: any;
2-
require('@nativescript/polyfill');
2+
require('@nativescript/canvas-polyfill');
33
import * as THREE from 'three';
4-
(global as any).THREE = global.window.THREE = global.THREE || THREE;
4+
(global as any).THREE = global.window.THREE = global.THREE || THREE;

0 commit comments

Comments
 (0)