diff options
| author | Phil Crosby | 2011-02-09 23:05:40 -0800 |
|---|---|---|
| committer | Phil Crosby | 2011-02-09 23:05:40 -0800 |
| commit | 1edb16a47eb8a35fc3ea7991bfdfc8434d1d3bff (patch) | |
| tree | 3d0275940d6b35a6b9da4accf12e013901c713e4 /background_page.html | |
| parent | 7d5f9b138f77db9a62f2d2847fd182372afdd9b3 (diff) | |
| download | vimium-1edb16a47eb8a35fc3ea7991bfdfc8434d1d3bff.tar.bz2 | |
Style
Diffstat (limited to 'background_page.html')
| -rw-r--r-- | background_page.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/background_page.html b/background_page.html index d98967b4..77150244 100644 --- a/background_page.html +++ b/background_page.html @@ -18,8 +18,9 @@ var focusedFrame = null; var framesForTab = {}; - // Keys are either literal characters, or "named" - for example <a-b> (alt+b), <left> (the left arrow) or <f12> - // This regular expression captures two groups, the first is a named key, the second is the remainder of the string. + // Keys are either literal characters, or "named" - for example <a-b> (alt+b), <left> (left arrow) or <f12> + // This regular expression captures two groups: the first is a named key, the second is the remainder of + // the string. var namedKeyRegex = /^(<(?:[amc]-.|(?:[amc]-)?[a-z0-9]{2,5})>)(.*)$/; var defaultSettings = { @@ -164,7 +165,8 @@ function showHelp(callback, frameId) { chrome.tabs.getSelected(null, function(tab) { - chrome.tabs.sendRequest(tab.id, { name: "showHelpDialog", dialogHtml: helpDialogHtml(), frameId:frameId }); + chrome.tabs.sendRequest(tab.id, + { name: "showHelpDialog", dialogHtml: helpDialogHtml(), frameId:frameId }); }); } |
