We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 826430d commit 7010145Copy full SHA for 7010145
package.json
@@ -28,5 +28,8 @@
28
"three": "^0.108.0",
29
"webpack": "^4.39.1",
30
"webpack-cli": "^3.3.6"
31
+ },
32
+ "dependencies": {
33
+ "abab": "^2.0.3"
34
}
35
src/index.js
@@ -1,3 +1,4 @@
1
+import {atob as _atob} from 'abab';
2
import _XMLHttpRequest from './XMLHttpRequest'
3
4
export function createScopedThreejs(canvas) {
@@ -21,6 +22,12 @@ export function createScopedThreejs(canvas) {
21
22
removeEventListener: function() {},
23
URL: {},
24
25
+
26
+ // eslint-disable-next-line
27
+ const atob = (a) => {
+ return _atob(a)
+ }
// eslint-disable-next-line
const XMLHttpRequest = _XMLHttpRequest
0 commit comments