Skip to content

Commit

Permalink
Tracking density API, see phetsims/density-buoyancy-common#59
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Nov 11, 2021
1 parent f6dc2fb commit 9bcab73
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions density_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
"density-buoyancy-common",
"mobius"
],
"phet-io": {
"compareDesignedAPIChanges": true
},
"preload": [
"../sherpa/lib/poly-decomp-0.3.0.js",
"../sherpa/lib/p2-0.7.1.js",
Expand Down
5 changes: 4 additions & 1 deletion js/density-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ const simOptions = {
soundDesign: '',
thanks: ''
},
webgl: true
webgl: true,

// phet-io options
phetioDesigned: true
};

// launch the sim - beware that scenery Image nodes created outside of simLauncher.launch() will have zero bounds
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"density-buoyancy-common",
"mobius"
],
"phet-io": {
"compareDesignedAPIChanges": true
},
"preload": [
"../sherpa/lib/poly-decomp-0.3.0.js",
"../sherpa/lib/p2-0.7.1.js",
Expand Down

1 comment on commit 9bcab73

@jonathanolson
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.