diff options
| author | Stephen Blott | 2015-05-09 08:30:29 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2015-05-09 08:31:35 +0100 | 
| commit | 6fd0e15b96325222abf1a19886bd5e0fb48fcdbb (patch) | |
| tree | 61578992f46de2c97e6f7102cb331925c1581c02 /lib | |
| parent | 8c308d47cc615b9fa0eed47e4ecddd1fd9d125eb (diff) | |
| download | vimium-6fd0e15b96325222abf1a19886bd5e0fb48fcdbb.tar.bz2 | |
Search completion; refactor SearchCompleter activation.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/utils.coffee | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lib/utils.coffee b/lib/utils.coffee index 033fdd2b..4c2a7a14 100644 --- a/lib/utils.coffee +++ b/lib/utils.coffee @@ -201,7 +201,8 @@ Function::curry = ->  Array.copy = (array) -> Array.prototype.slice.call(array, 0)  String::startsWith = (str) -> @indexOf(str) == 0 -String::ltrim = () -> @replace /^\s+/, "" +String::ltrim = -> @replace /^\s+/, "" +String::rtrim = -> @replace /\s+$/, ""  globalRoot = window ? global  globalRoot.extend = (hash1, hash2) -> | 
