diff options
| author | Stephen Blott | 2016-01-30 11:02:14 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2016-01-30 11:02:14 +0000 | 
| commit | c3373252db73430ec466eb0b81a16a5953975e19 (patch) | |
| tree | bf45c911b895d1c1166dbc8ee541e4165cea5e65 /lib/utils.coffee | |
| parent | a65ca68a0011fd8f9ab1282db8e85476633c0956 (diff) | |
| parent | 5e65d6bb14c86be2cac95e6d7b61a0fbde1c76cc (diff) | |
| download | vimium-c3373252db73430ec466eb0b81a16a5953975e19.tar.bz2 | |
Merge pull request #1949 from smblott-github/simpler-hint-string
Simplify hint string generation
Diffstat (limited to 'lib/utils.coffee')
| -rw-r--r-- | lib/utils.coffee | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/lib/utils.coffee b/lib/utils.coffee index b69b926b..c255102e 100644 --- a/lib/utils.coffee +++ b/lib/utils.coffee @@ -281,6 +281,7 @@ Array.copy = (array) -> Array.prototype.slice.call(array, 0)  String::startsWith = (str) -> @indexOf(str) == 0  String::ltrim = -> @replace /^\s+/, ""  String::rtrim = -> @replace /\s+$/, "" +String::reverse = -> @split("").reverse().join ""  globalRoot = window ? global  globalRoot.extend = (hash1, hash2) -> | 
