I would set the hash with e.g.
window.location.hash = Arg.stringify({workid: 12345});
which returns
location.href
"https://som.hex21.com/katya/version_01/#workid=12345"
But with Arg I get very inconsistent results which I can't figure out why:
Arg.all()
{"": undefined, workid: 198582}
Arg.hash()
{workid: 70761}
Arg('workid')
198582
Any ideas why?
I guess I can work with this for now:
Arg.parse(location.hash)
{workid: 12345}
I would set the hash with e.g.
window.location.hash = Arg.stringify({workid: 12345});which returns
But with Arg I get very inconsistent results which I can't figure out why:
Any ideas why?
I guess I can work with this for now: