Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/tools/querystring/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const stringify = function (obj, sep, eq, arrayKey) {

var buf = [],
key, val;
var escape = escape;
var escape = escape || this.escape;

for (key in obj) {
if (!hasOwnProperty.call(obj, key)) continue;
Expand Down Expand Up @@ -95,7 +95,7 @@ export const parse = function (str, sep, eq) {

var pairs = str.split(sep || '&');
eq = eq || '=';
var unescape = unescape;
var unescape = unescape || this.unescape;

for (var i = 0; i < pairs.length; i++) {

Expand Down