this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove Tinybird analytics

-16
-12
src/app.js
··· 166 166 console.info('[glTF Viewer] Debugging data exported as `window.VIEWER`.'); 167 167 168 168 }); 169 - 170 - function isIFrame () { 171 - try { 172 - return window.self !== window.top; 173 - } catch (e) { 174 - return true; 175 - } 176 - } 177 - 178 - // bandwidth on this page is very high. hoping to 179 - // figure out what percentage of that is embeds. 180 - Tinybird.trackEvent('load', {embed: isIFrame()});
-4
src/viewer.js
··· 59 59 this.clips = []; 60 60 this.gui = null; 61 61 62 - if (options.preset) { 63 - Tinybird.trackEvent('preset', {preset: options.preset}); 64 - } 65 - 66 62 this.state = { 67 63 environment: options.preset === Preset.ASSET_GENERATOR 68 64 ? environments.find((e) => e.id === 'footprint-court').name