diff options
| author | Stephen Blott | 2017-10-29 14:08:00 +0000 | 
|---|---|---|
| committer | GitHub | 2017-10-29 14:08:00 +0000 | 
| commit | 52bd2cdbf662e3d40c0f5273485379be77ef8c19 (patch) | |
| tree | f54999999cf42b320d6a8cd929065f54d5630c3f /lib/utils.coffee | |
| parent | 69c3e8a4b8aef152a2c994c5da922a37ac3f5cf6 (diff) | |
| parent | 24148c709806d1631f35cd8efd3fdec4f2376f92 (diff) | |
| download | vimium-52bd2cdbf662e3d40c0f5273485379be77ef8c19.tar.bz2 | |
Merge pull request #2748 from mrmr1993/frontend-split
Move normal mode and its commands out of vimium_frontend.coffee
Diffstat (limited to 'lib/utils.coffee')
| -rw-r--r-- | lib/utils.coffee | 8 | 
1 files changed, 0 insertions, 8 deletions
| diff --git a/lib/utils.coffee b/lib/utils.coffee index b5b96844..6f38be8f 100644 --- a/lib/utils.coffee +++ b/lib/utils.coffee @@ -32,14 +32,6 @@ Utils =    # Returns true whenever the current page is the extension's background page.    isBackgroundPage: -> @isExtensionPage() and chrome.extension.getBackgroundPage?() == window -  # Takes a dot-notation object string and calls the function that it points to with the correct value for -  # 'this'. -  invokeCommandString: (str, args...) -> -    [names..., name] = str.split '.' -    obj = window -    obj = obj[component] for component in names -    obj[name].apply obj, args -    # Escape all special characters, so RegExp will parse the string 'as is'.    # Taken from http://stackoverflow.com/questions/3446170/escape-string-for-use-in-javascript-regex    escapeRegexSpecialCharacters: do -> | 
