From f44db6ff18336b1028b046b0888820acc165482c Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 18 Feb 2013 12:43:59 +0530 Subject: [PATCH] update tests --- source/Ox/js/Object.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox/js/Object.js b/source/Ox/js/Object.js index 8eee050b..df6305df 100644 --- a/source/Ox/js/Object.js +++ b/source/Ox/js/Object.js @@ -178,8 +178,8 @@ Ox.unserialize 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) {