phetsims / build-a-nucleus

"Build a Nucleus" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
0 stars 5 forks source link

Broken link to Full chart #219

Closed zepumph closed 2 weeks ago

zepumph commented 3 weeks ago

I noticed today that this link isn't working. @Luisav1 do you want to investigate?

https://energyeducation.ca/simulations/nuclear/nuclidechart.html

zepumph commented 3 weeks ago

nuclidechart.html:365 Uncaught 
ReferenceError: nuclides is not defined
    at initChart (nuclidechart.html:365:2)
    at initialize (nuclidechart.html:321:2)
    at nuclidechart.html:1607:2
Luisav1 commented 2 weeks ago

Thanks for the info! The issue was that the data script wasn’t being read correctly, causing nuclides to be undefined. Adding a header to getnuclidesnew.php to specify its content as JavaScript fixed it. Closing.