Andrea Giammarchi

Results 769 comments of Andrea Giammarchi

that's nowhere in our documentation and that attribute is nowhere parsed in current offer ... the `py-script` is also a custom element, but we suggest `` these days, still I...

`script type="py"` is what you should use instead (or `script type="mpy"` for MicroPython) because: * it doesn't suffer layout parsing * it never needs related CSS * it's the right...

`` shares nothing with ``: * unknown types are ignored by the browser * all scripts are ignored by the DOM parser, only their content, if the type is known...

what if you add this `` at the top of your HTML **before** any other script you have in there? ```html (g => { const { fetch: $ } =...

That being said we could offer the following, as the `crossorigin="true"` has no standard meaning: * `crossorigin="anonymous"` will use `credentials: "omit"` and `mode: "cors"` in *fetch* * `crossorigin="use-credentials"` will use...

on a second thought maybe `anonymous` for `crossorigin` should result into `mode: "cors"` and `credentials: "same-origin"` which should cover already the last case so we don't need to diverge from...

@dberardo-com I am actually waiting for you to test this and let me know if it solved anything: https://github.com/pyscript/pyscript/issues/2009#issuecomment-2022285154 I won't work on this until I am sure I am...

@dberardo-com any chance you tried what I've asked you to?

@dberardo-com we're close to a new release ... and I am still wondering if you got a chance to test what I've proposed before we implement something that might not...

That sounds great, and please do come back with extra inputs, still I hope you can try my temporary solution and tell us if that worked by any mean. Closing...