Closed dascritch closed 1 year ago
It seems that the best way, according to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script and https://html.spec.whatwg.org/multipage/scripting.html#the-script-element must be to declare it as a script JSON, and use something as data-cpu-audio to indicate that we use it.
The declaration should be :
<script type="application/json" data-cpu-audio>
I think I will work on it
As it's done, now we can resolve :
To resolve some situations as changing
default_document_cpu_parameters.js
values or issue #181 , perhaps we may pass some parameters in the:host head
, may be as a<script type="...json" data-related="cpu-audio">
?It may avoid some overheads and would be ideal for global parameters without having to mess directly in JS.
It can be done even for release 7.1
DefaultParametersDocumentCPU
live_config.html
application