Skip to content

Commit

Permalink
Renamed KeyboardUtils => KeyboardUtils, see phetsims/tasks#966
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Dec 30, 2019
1 parent cc08324 commit c5cccb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/circuit-construction-kit-dc-virtual-lab-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ define( require => {

// modules
require( 'SCENERY/nodes/Image' ); // Image is required for making toDataURLNodeSynchronous work in the built version
const KeyboardUtil = require( 'SCENERY/accessibility/KeyboardUtil' );
const KeyboardUtils = require( 'SCENERY/accessibility/KeyboardUtils' );
const LabScreen = require( 'CIRCUIT_CONSTRUCTION_KIT_DC/lab/LabScreen' );
const Sim = require( 'JOIST/Sim' );
const SimLauncher = require( 'JOIST/SimLauncher' );
Expand Down Expand Up @@ -39,7 +39,7 @@ define( require => {
// is complete
document.addEventListener( 'keydown', event => {
const keyCode = event.keyCode || event.which;
if ( keyCode === KeyboardUtil.KEY_TAB ) {
if ( keyCode === KeyboardUtils.KEY_TAB ) {
event.preventDefault();
}
} );
Expand Down

0 comments on commit c5cccb5

Please sign in to comment.