update documentation
This commit is contained in:
parent
be7d344903
commit
a73ad7df9c
1 changed files with 5 additions and 5 deletions
10
doc/RFC.md
10
doc/RFC.md
|
|
@ -1,10 +1,10 @@
|
||||||
|
|
||||||
|
|
||||||
# `protocol://domain.com/some3d.asset#pos=1,0,0&prio=-5`
|
# `://foo.com/my3d.asset#pos=1,0,0&prio=-5`
|
||||||
|
|
||||||
# URI parser
|
# URI parser
|
||||||
|
|
||||||
> icanhazcode? yes, see [URI.hx](./../src/xrfragment/URI.hx)
|
> icanhazcode? yes, see [URI.hx](https://github.com/coderofsalvation/xrfragment/blob/main/src/xrfragment/URI.hx)
|
||||||
|
|
||||||
1. fragment URI starts with `#`
|
1. fragment URI starts with `#`
|
||||||
1. fragments are split by `&`
|
1. fragments are split by `&`
|
||||||
|
|
@ -14,8 +14,8 @@
|
||||||
|
|
||||||
# XR Fragments (key/value params)
|
# XR Fragments (key/value params)
|
||||||
|
|
||||||
> ⛁ = fragment support through 3D asset-file (custom property)<br>
|
> ⛁ = supported in 3D asset-file (custom property or projection)<br>
|
||||||
> ⚂ = fragment support through navigator URI (`document.location.href` e.g.)<br>
|
> ⚂ = supported in navigator URI (`document.location.href` e.g.)<br>
|
||||||
|
|
||||||
| param | type | scope(s) | category | notes |
|
| param | type | scope(s) | category | notes |
|
||||||
|---------|---------------|-------|--------------------|---------------------------------|
|
|---------|---------------|-------|--------------------|---------------------------------|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
# XR Fragments parser
|
# XR Fragments parser
|
||||||
note: community parsers will prolly outperform this initial parser :)
|
note: community parsers will prolly outperform this initial parser :)
|
||||||
> icanhazcode? yes, see [Parser.hx](./../src/xrfragment/Parser.hx)
|
> icanhazcode? yes, see [Parser.hx](https://github.com/coderofsalvation/xrfragment/blob/main/src/xrfragment/Parser.hx)
|
||||||
|
|
||||||
the gist of it:
|
the gist of it:
|
||||||
1. each key has a regex to validate its value-type (see regexes)
|
1. each key has a regex to validate its value-type (see regexes)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue