commit
d3263d77e2
1 changed files with 1 additions and 4 deletions
|
|
@ -689,13 +689,10 @@ var m = (function app(window, undefined) {
|
||||||
var pairs = str.split("&"), params = {};
|
var pairs = str.split("&"), params = {};
|
||||||
for (var i = 0, len = pairs.length; i < len; i++) {
|
for (var i = 0, len = pairs.length; i < len; i++) {
|
||||||
var pair = pairs[i].split("=");
|
var pair = pairs[i].split("=");
|
||||||
params[decodeSpace(pair[0])] = pair[1] ? decodeSpace(pair[1]) : ""
|
params[decodeURIComponent(pair[0])] = pair[1] ? decodeURIComponent(pair[1]) : ""
|
||||||
}
|
}
|
||||||
return params
|
return params
|
||||||
}
|
}
|
||||||
function decodeSpace(string) {
|
|
||||||
return decodeURIComponent(string.replace(/\+/g, " "))
|
|
||||||
}
|
|
||||||
function reset(root) {
|
function reset(root) {
|
||||||
var cacheKey = getCellCacheKey(root);
|
var cacheKey = getCellCacheKey(root);
|
||||||
clear(root.childNodes, cellCache[cacheKey]);
|
clear(root.childNodes, cellCache[cacheKey]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue