8000 Add more details about worker headers + JavaScript class new clarific… · pyscript/docs@f359de8 · GitHub
[go: up one dir, main page]

Skip to content

Commit f359de8

Browse files
committed
Add more details about worker headers + JavaScript class new clarification.
1 parent 2fdc772 commit f359de8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/user-guide/dom.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ equivalent values: `["hello", 1, 2, 3]`.
6868
instantiation very differently. By explicitly calling the JavaScript
6969
class's `new` method PyScript both signals and honours this difference.
7070

71+
More technical information about instantiating JavaScript classes can be
72+
[found in the FAQ](../../faq/#javascript-classnew)
73+
7174
Should you require lower level API access to FFI features, you can find such
7275
builtin functions under the `pyscript.ffi` namespace in both Pyodide and
7376
MicroPython. The available functions are described in our section on

docs/user-guide/workers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ headers** (this is the default behaviour for
1818
[pyscript.com](https://pyscript.com)):
1919

2020
```
21+
Access-Control-Allow-Origin: *
2122
Cross-Origin-Opener-Policy: same-origin
2223
Cross-Origin-Embedder-Policy: require-corp
2324
Cross-Origin-Resource-Policy: cross-origin

0 commit comments

Comments
 (0)
0