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 d7bdef5 commit cd5b8baCopy full SHA for cd5b8ba
devtools/bridge.js
@@ -344,6 +344,17 @@
344
345
} );
346
347
+ // Check if THREE is in the global scope (Old versions)
348
+ window.addEventListener( 'load', () => {
349
+
350
+ if ( window.THREE && window.THREE.REVISION) {
351
352
+ dispatchEvent( 'register', { revision: THREE.REVISION } );
353
354
+ }
355
356
+ } );
357
358
// Watch for page unload to reset state
359
window.addEventListener( 'beforeunload', () => {
360
0 commit comments