Ox.URL: serialize hash as JSON

This commit is contained in:
rlx 2013-07-12 12:02:17 +00:00
parent fadf032592
commit a5ad4466a4

View file

@ -482,7 +482,7 @@ Ox.URL = function(options) {
? '#' + ( ? '#' + (
hash.anchor || '' hash.anchor || ''
) + ( ) + (
hash.query ? '?' + Ox.serialize(obj) : '' hash.query ? '?' + Ox.serialize(obj, true) : ''
) )
: ''; : '';
} }