diff options
| author | Matt Garriott | 2012-08-31 16:13:42 -0600 |
|---|---|---|
| committer | Matt Garriott | 2012-08-31 16:13:42 -0600 |
| commit | 354c0c5467ee589c3bb8e2009a3e7412f33ed1ab (patch) | |
| tree | 11d30634ce828531a05069a3e20b758bbcd76ff8 | |
| parent | 4ec5cc6fcaaac22826b3e0535282733a2368d1e4 (diff) | |
| download | vimium-354c0c5467ee589c3bb8e2009a3e7412f33ed1ab.tar.bz2 | |
Removed unneeded comments.
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 9accaa3b..eacf2eb1 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -842,19 +842,8 @@ window.showHelpDialog = (html, fid) -> container.innerHTML = html container.getElementsByClassName("closeButton")[0].addEventListener("click", hideHelpDialog, false) - # Chrome's new security policy with manifest version 2 prevents the use - # of eval in this case. So instead of keeping the javascript in the help_dialog.html - # file we can just put it here as coffee script. - # See https://developer.chrome.com/trunk/extensions/sandboxingEval.html for more - # information on chrome's new security policies. - # @mgarriott - 8-25-2012 - # - # OldMethod: - # scripts = Array.prototype.slice.call(container.getElementsByTagName("script")) - # scripts.forEach((script) -> eval(script.text)) VimiumHelpDialog = # This setting is pulled out of local storage. It's false by default. - #chrome.extension.getBackgroundPage().Settings.get('helpDialog_showAdvancedCommands') getShowAdvancedCommands: (callback) -> chrome.extension.sendRequest({ handler: "getShowAdvancedCommands"}, callback) |
