Skip to content

Commit

Permalink
update a11y string usages to top of file, phetsims/a11y-research#65
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Mar 15, 2018
1 parent 51cc311 commit 2140053
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions js/john-travoltage/AppendageRangeMaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
define( function( require ) {
'use strict';

// modules
var johnTravoltage = require( 'JOHN_TRAVOLTAGE/johnTravoltage' );
var JohnTravoltageA11yStrings = require( 'JOHN_TRAVOLTAGE/john-travoltage/JohnTravoltageA11yStrings' );
var Range = require( 'DOT/Range' );

// a11y strings
var farthestFromDoorknobString = JohnTravoltageA11yStrings.farthestFromDoorknobString.value;
var veryFarFromDoorknobString = JohnTravoltageA11yStrings.veryFarFromDoorknobString.value;
var farFromDoorknobString = JohnTravoltageA11yStrings.farFromDoorknobString.value;
Expand Down
2 changes: 1 addition & 1 deletion js/john-travoltage/view/AppendageNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ define( function( require ) {
var Util = require( 'DOT/Util' );
var Vector2 = require( 'DOT/Vector2' );

// strings
// a11y strings
var towardsDoorknobString = JohnTravoltageA11yStrings.towardsDoorknobString.value;
var awayFromDoorknobString = JohnTravoltageA11yStrings.awayFromDoorknobString.value;
var towardsDoorknobPatternString = JohnTravoltageA11yStrings.towardsDoorknobPatternString.value;
Expand Down
2 changes: 1 addition & 1 deletion js/john-travoltage/view/ElectronLayerNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ define( function( require ) {
var Node = require( 'SCENERY/nodes/Node' );
var StringUtils = require( 'PHETCOMMON/util/StringUtils' );

// strings
// a11y strings
var electronsTotalString = JohnTravoltageA11yStrings.electronsTotalString.value;
var electronsTotalAfterDischargeString = JohnTravoltageA11yStrings.electronsTotalAfterDischargeString.value;

Expand Down
2 changes: 1 addition & 1 deletion js/john-travoltage/view/SparkNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ define( function( require ) {
var Shape = require( 'KITE/Shape' );
var utteranceQueue = require( 'SCENERY_PHET/accessibility/utteranceQueue' );

// strings
// a11y strings
var electronsDischargedString = JohnTravoltageA11yStrings.electronsDischargedString.value;

/**
Expand Down

0 comments on commit 2140053

Please sign in to comment.