update documentation
This commit is contained in:
parent
d61539282c
commit
785516f975
3 changed files with 5 additions and 6 deletions
5
dist/xrfragment.js
vendored
5
dist/xrfragment.js
vendored
|
|
@ -263,8 +263,8 @@ xrfragment_Query.prototype = {
|
|||
return this.q;
|
||||
}
|
||||
};
|
||||
var xrfragment_Url = $hx_exports["xrfragment"]["Url"] = function() { };
|
||||
xrfragment_Url.parse = function(qs) {
|
||||
var xrfragment_URI = $hx_exports["xrfragment"]["URI"] = function() { };
|
||||
xrfragment_URI.parse = function(qs) {
|
||||
var fragment = qs.split("#");
|
||||
var splitArray = fragment[1].split("&");
|
||||
var resultMap = { };
|
||||
|
|
@ -320,6 +320,5 @@ var xrfragment_Query_ok = $hx_exports["xrfragment"]["Query"]["ok"] =
|
|||
}
|
||||
}
|
||||
;
|
||||
xrfragment_Url.error = "";
|
||||
})({});
|
||||
var xrfragment = $hx_exports["xrfragment"];
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
> version 1.0.0
|
||||
|
||||
date: 2023-03-31T14:47:04+0200 (generated by `./make doc`)
|
||||
date: 2023-03-31T14:48:17+0200 (generated by `./make doc`)
|
||||
|
||||
example URI: `://domain.com/some3d.asset#pos=1,0,0&prio=-5
|
||||
example URI: `://domain.com/some3d.asset#pos=1,0,0&prio=-5`
|
||||
|
||||
# URI parser
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import xrfragment.Parser;
|
|||
@:expose // <- makes the class reachable from plain JavaScript
|
||||
@:keep // <- avoids accidental removal by dead code elimination
|
||||
//
|
||||
// example URI: `://domain.com/some3d.asset#pos=1,0,0&prio=-5
|
||||
// example URI: `://domain.com/some3d.asset#pos=1,0,0&prio=-5`
|
||||
class URI {
|
||||
@:keep // # URI parser
|
||||
public static function parse(qs:String):haxe.DynamicAccess<Dynamic> { //
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue