From 0f3c5b9bbeefaced84c883eb548fe710a7589827 Mon Sep 17 00:00:00 2001 From: zepumph Date: Fri, 22 Jan 2021 12:51:26 -0900 Subject: [PATCH] use asyncLoader instead of simLauncher, plus grunt update on accident, https://github.com/phetsims/joist/issues/687 --- js/balancingChemicalEquationsStrings.js | 2 +- mipmaps/scales_png.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/balancingChemicalEquationsStrings.js b/js/balancingChemicalEquationsStrings.js index 1ddb63ea..47b346c2 100644 --- a/js/balancingChemicalEquationsStrings.js +++ b/js/balancingChemicalEquationsStrings.js @@ -1,4 +1,4 @@ -// Copyright 2020, University of Colorado Boulder +// Copyright 2021, University of Colorado Boulder /** * Auto-generated from modulify, DO NOT manually modify. diff --git a/mipmaps/scales_png.js b/mipmaps/scales_png.js index 11524b00..2f5bf34a 100644 --- a/mipmaps/scales_png.js +++ b/mipmaps/scales_png.js @@ -1,5 +1,5 @@ /* eslint-disable */ -import simLauncher from '../../joist/js/simLauncher.js'; +import asyncLoader from '../../phet-core/js/asyncLoader.js'; const mipmaps = [ { @@ -30,7 +30,7 @@ const mipmaps = [ ]; mipmaps.forEach( mipmap => { mipmap.img = new Image(); - const unlock = simLauncher.createLock( mipmap.img ); + const unlock = asyncLoader.createLock( mipmap.img ); mipmap.img.onload = unlock; mipmap.img.src = mipmap.url; // trigger the loading of the image for its level mipmap.canvas = document.createElement( 'canvas' );