diff options
| author | guns | 2012-08-09 07:31:12 -0500 | 
|---|---|---|
| committer | guns | 2012-08-09 07:31:12 -0500 | 
| commit | f41e1e63990b3b12654541374a0930c1fbff1adf (patch) | |
| tree | 0981414b4f53ecb3a656ebea9ffa3afb6a9235e1 | |
| parent | a77dbd42dae9984d30f3b1f63ef8240a9e927fc9 (diff) | |
| download | vimium-f41e1e63990b3b12654541374a0930c1fbff1adf.tar.bz2 | |
Fix regression in shuffleHints()
Index variable `i` accidentally undeclared in `for in` loop
cf. ed21d9b1abe42c1556f27390476302a1393dedb8
| -rw-r--r-- | content_scripts/link_hints.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index 361b5c74..34ecb431 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -301,7 +301,7 @@ alphabetHints =    #    shuffleHints: (hints, characterSetLength) ->      buckets = ([] for i in [0...characterSetLength] by 1) -    for hint in hints +    for hint, i in hints        buckets[i % buckets.length].push(hint)      result = []      for bucket in buckets | 
