update tests
This commit is contained in:
parent
290d97cbee
commit
f44db6ff18
1 changed files with 2 additions and 2 deletions
|
@ -178,8 +178,8 @@ Ox.unserialize <f> Parses query parameters into an object
|
|||
{a: '1', b: '2.3', c: '-4'}
|
||||
> Ox.unserialize('a=foo&b=&c&a=bar')
|
||||
{a: 'bar'}
|
||||
> Ox.unserialize('a=[1,2]&b=true&n=1&o={"k":"v"}&s1="foo"&s2=bar', true)
|
||||
{a: [1, 2], b: true, n: 1, o: {k: 'v'}, s1: 'foo', s2: 'bar'}
|
||||
> Ox.unserialize('a=[1,2]&b=true&n=1.2&o={"k":"v"}&s1="foo"&s2=bar', true)
|
||||
{a: [1, 2], b: true, n: 1.2, o: {k: 'v'}, s1: 'foo', s2: 'bar'}
|
||||
|
||||
@*/
|
||||
Ox.unserialize = function(string, isJSON) {
|
||||
|
|
Loading…
Reference in a new issue