From 3028166b10c493fb4ef275dafa60b89b28aca2d8 Mon Sep 17 00:00:00 2001 From: jbphet Date: Mon, 14 Oct 2019 10:10:40 -0600 Subject: [PATCH] lint fixes, see #39 --- js/Sound.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/Sound.js b/js/Sound.js index 4150c68..745c4ee 100644 --- a/js/Sound.js +++ b/js/Sound.js @@ -13,8 +13,6 @@ define( function( require ) { // modules var Display = require( 'SCENERY/display/Display' ); - var platform = require( 'PHET_CORE/platform' ); - var empty = require( 'audio!VIBE/empty.mp3' ); var Property = require( 'AXON/Property' ); var vibe = require( 'VIBE/vibe' ); @@ -209,7 +207,7 @@ define( function( require ) { .then( function(){ removeUserInteractionListeners(); } ) - .catch( function(){ + .catch( function( err ){ var errorMessage = 'error when trying to resume audio context, err = ' + err; console.error( errorMessage ); assert && alert( errorMessage );