Closed teoli2003 closed 2 years ago
This is part of our project to update code to a more modern JS syntax.
This PR updates the panner-node example:
const
let
In addition:
fetch()
http://
https://
.innerHTML
.textContent
Tested on Firefox, Safari, and Chrome (macOS) via a local server.
The script tag needs to be moved to to the body or the head the pass the Nu HTML checker.
You're right, fixed.
This is part of our project to update code to a more modern JS syntax.
This PR updates the panner-node example:
const
andlet
where possibleIn addition:
fetch()
instead of XHRhttp://
url to anhttps://
so it actually works in browsers (mixed content error).innerHTML
properties with.textContent
Tested on Firefox, Safari, and Chrome (macOS) via a local server.