Skip to content

Commit

Permalink
1.5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Mar 29, 2018
1 parent 2478a1f commit 8c89db8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions dist/xe-utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* xe-utils.js v1.5.9
* xe-utils.js v1.5.10
* (c) 2017-2018 Xu Liangzhan
* ISC License.
* @preserve
Expand Down Expand Up @@ -1243,7 +1243,7 @@
var opts = objectAssign({}, obj)
var values = []
if (opts.name) {
values.push(encodeURIComponent(opts.name) + '=' + encodeURIComponent(JSON.stringify(opts.value)))
values.push(encodeURIComponent(opts.name) + '=' + encodeURIComponent(isObject(opts.value) ? JSON.stringify(opts.value) : opts.value))
if (opts.expires !== undefined) {
opts.expires = new Date(new Date().getTime() + parseFloat(opts.expires) * 86400000).toUTCString()
}
Expand Down Expand Up @@ -1356,7 +1356,7 @@

coreMethods.objectAssign(XEUtils, {
mixin: mixin,
version: '1.5.9',
version: '1.5.10',
$name: 'XEUtils'
})

Expand Down
Loading

0 comments on commit 8c89db8

Please sign in to comment.