Open TeaPearce opened 5 years ago
The following: https://htmlpreview.github.io/?https://github.com/TeaPearce/Bayesian_NN_Ensembles/blob/master/html_demos/demos/bayes_ens_demo_01.html doesn't run in the majority of browsers I've tested. Seems like javascript functions are not loading properly, both those in the html file, and those in other files. The error in the console is given as: 'ReferenceError myFunctionName is not defined'
I made a toy version of this that fails with the same error: https://htmlpreview.github.io/?https://github.com/TeaPearce/Bayesian_NN_Ensembles/blob/master/test_2.html that should be easier to debug.
I'm pretty new to html and js, so it's possible I've missed something basic. But it works fine when run locally on all browsers, and works fine with htmlpreview on a safari browser.
The following: https://htmlpreview.github.io/?https://github.com/TeaPearce/Bayesian_NN_Ensembles/blob/master/html_demos/demos/bayes_ens_demo_01.html doesn't run in the majority of browsers I've tested. Seems like javascript functions are not loading properly, both those in the html file, and those in other files. The error in the console is given as: 'ReferenceError myFunctionName is not defined'
I made a toy version of this that fails with the same error: https://htmlpreview.github.io/?https://github.com/TeaPearce/Bayesian_NN_Ensembles/blob/master/test_2.html that should be easier to debug.
I'm pretty new to html and js, so it's possible I've missed something basic. But it works fine when run locally on all browsers, and works fine with htmlpreview on a safari browser.