Skip to content

Commit 3384ee0

Browse files
Merge pull request prototypejs#77 from victor-homyakov/patch-26
`toQueryPair()`: `value` is already defined
2 parents 291edcd + 6336c45 commit 3384ee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prototype/lang/hash.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ var Hash = Class.create(Enumerable, (function() {
291291
function toQueryPair(key, value) {
292292
if (Object.isUndefined(value)) return key;
293293

294-
var value = String.interpret(value);
294+
value = String.interpret(value);
295295

296296
// Normalize newlines as \r\n because the HTML spec says newlines should
297297
// be encoded as CRLFs.

0 commit comments

Comments
 (0)