Merge pull request #400 from barneycarroll/next

Fix #399
This commit is contained in:
Leo Horie 2015-01-07 09:36:10 -05:00
commit d3263d77e2

View file

@ -689,13 +689,10 @@ var m = (function app(window, undefined) {
var pairs = str.split("&"), params = {};
for (var i = 0, len = pairs.length; i < len; i++) {
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
}
function decodeSpace(string) {
return decodeURIComponent(string.replace(/\+/g, " "))
}
function reset(root) {
var cacheKey = getCellCacheKey(root);
clear(root.childNodes, cellCache[cacheKey]);