Skip to content

Commit 3d47612

Browse files
committed
lint
1 parent 745f054 commit 3d47612

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/jsurl2.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
}
184184
}
185185
}
186-
while(out[out.length - 1] === '') {
186+
while (out[out.length - 1] === '') {
187187
out.pop()
188188
}
189189
out.push(')')
@@ -194,14 +194,12 @@
194194
}
195195
}
196196

197-
const closeObjRE = /\)+$/g
198-
const noTilde = {'!': true, '(': true, ')': true}
199197
exports.stringify = function (v, options) {
200198
var out = [], t, str = '', len, sep = false, short = options && options.short
201199
encode(v, out)
202200
len = out.length - 1
203201
// until where we have to stringify
204-
while(t = out[len], t === '' || (short && t === ')')) {
202+
while (t = out[len], t === '' || (short && t === ')')) {
205203
len--
206204
}
207205
// extended join('~')

0 commit comments

Comments
 (0)