diff options
| author | Stephen Blott | 2014-12-30 10:58:46 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2014-12-30 11:56:28 +0000 | 
| commit | b5c0b8da794407bc72f9f43da40422ed23e3899e (patch) | |
| tree | ae9eebca8b4a6ae8665a568d0a2d4c37303efbd0 /lib/utils.coffee | |
| parent | f7f0f8ec7500a4b2f6d39b7ca1e68cf59795d5d4 (diff) | |
| download | vimium-b5c0b8da794407bc72f9f43da40422ed23e3899e.tar.bz2 | |
Exclusions; use querySelector to find sub-elements.
As @philc pointed out in #1366, this is less brittle.
Diffstat (limited to 'lib/utils.coffee')
| -rw-r--r-- | lib/utils.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/utils.coffee b/lib/utils.coffee index 81b0fb49..05ebd071 100644 --- a/lib/utils.coffee +++ b/lib/utils.coffee @@ -111,7 +111,7 @@ Utils =    isString: (obj) -> typeof obj == 'string' or obj instanceof String    # Transform "zjkjkabz" into "abjkz". -  uniqueCharacters: (str) -> +  distinctCharacters: (str) ->      unique = ""      for char in str.split("").sort()        unique += char unless 0 <= unique.indexOf char | 
