From 6336c456d85267dbd50408eea8a1676df9849391 Mon Sep 17 00:00:00 2001 From: Victor Homyakov Date: Mon, 22 Oct 2012 19:13:22 +0300 Subject: [PATCH] `toQueryPair()`: `value` is already defined --- src/prototype/lang/hash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prototype/lang/hash.js b/src/prototype/lang/hash.js index d934327c0..662640fcf 100644 --- a/src/prototype/lang/hash.js +++ b/src/prototype/lang/hash.js @@ -291,7 +291,7 @@ var Hash = Class.create(Enumerable, (function() { function toQueryPair(key, value) { if (Object.isUndefined(value)) return key; - var value = String.interpret(value); + value = String.interpret(value); // Normalize newlines as \r\n because the HTML spec says newlines should // be encoded as CRLFs.