mirror of
https://github.com/gpujs/gpu.js.git
synced 2026-01-25 16:08:02 +00:00
equality check
This commit is contained in:
parent
523cd88e0b
commit
92f955df82
2
src/index-core.js
vendored
2
src/index-core.js
vendored
@ -6,7 +6,7 @@ if (typeof module !== 'undefined') {
|
||||
}
|
||||
if (typeof window !== 'undefined') {
|
||||
window.GPUCore = GPUCore;
|
||||
if(window.GPU == null) {
|
||||
if(window.GPU === null) {
|
||||
window.GPU = GPUCore;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user