From 9bae8ee767e69bdf705a089959b61211eec58770 Mon Sep 17 00:00:00 2001 From: Chris Joel Date: Tue, 19 Mar 2019 15:33:44 -0700 Subject: [PATCH] Remove unnecessary comments --- src/three-components/CachingGLTFLoader.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/three-components/CachingGLTFLoader.js b/src/three-components/CachingGLTFLoader.js index 28eff5a1f5..6f36ea53ad 100644 --- a/src/three-components/CachingGLTFLoader.js +++ b/src/three-components/CachingGLTFLoader.js @@ -52,19 +52,11 @@ export class CachingGLTFLoader { async preload(url) { if (!cache.has(url)) { cache.set(url, loadWithLoader(url, this.loader)); - - // loadAttempt - //.then(() => { - // preloaded.set(url, true); - //}) - //.catch(() => {}); // Silently ignore exceptions here, they should be - //// caught by the invoking function } await cache.get(url); preloaded.set(url, true); - // return; // Explicitly return so that we don't leak the source glTF } /**