Skip to content

Commit

Permalink
Add phet-core/js/copyWithSortedKeys.js as a new preload and use it to…
Browse files Browse the repository at this point in the history
… sort keys for phet-io metadata, see phetsims/phet-io#1446
  • Loading branch information
samreid committed Mar 26, 2019
1 parent 85bde4d commit c637c85
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion area-model-decimals_a11y_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,9 @@ <h3>PDOM & Descriptions for Area Model Decimals</h3>
for ( var i = 0; i < allElements.length; i++ ) {
var element = allElements[ i ];

// TODO: see https://github.com/phetsims/chipper/issues/740, for some reason this makes Chrome very slow
// make sure nothing in copy is focusable
element.tabIndex = "-1";
element.tabIndex = '-1';

// make sure that styling is removed, unless some styling was added just for the copy
if ( element.className !== "pdom-style" ) {
Expand Down
1 change: 1 addition & 0 deletions area-model-decimals_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
'../assert/js/assert.js',
'../query-string-machine/js/QueryStringMachine.js',
'../chipper/js/initialize-globals.js',
'../phet-core/js/copyWithSortedKeys.js',
'../sherpa/lib/seedrandom-2.4.2.js',
'../sherpa/lib/game-up-camera-1.0.0.js',
'../sherpa/lib/base64-js-1.2.0.js',
Expand Down
2 changes: 1 addition & 1 deletion js/area-model-decimals-config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018, University of Colorado Boulder
// Copyright 2019, University of Colorado Boulder

/*
* IMPORTANT: This file was auto-generated by "grunt generate-config". Please do not modify this directly. Instead
Expand Down

0 comments on commit c637c85

Please sign in to comment.