aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorStephen Blott2016-02-20 11:59:05 +0000
committerStephen Blott2016-02-20 11:59:05 +0000
commitc818edb5e0e1a1edbcccfb2b978bf2e535de9fb4 (patch)
treea8c3f4c3670b21b3f190fc3849bea919fb60ce11 /content_scripts
parentac2018212ad438b70263d6a183e388d6a7e595d8 (diff)
parent70b8645d61a56ea760864d222791494aa6031f92 (diff)
downloadvimium-c818edb5e0e1a1edbcccfb2b978bf2e535de9fb4.tar.bz2
Merge pull request #2001 from smblott-github/add-count-command-option
Add count command option
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/vomnibar.coffee13
1 files changed, 1 insertions, 12 deletions
diff --git a/content_scripts/vomnibar.coffee b/content_scripts/vomnibar.coffee
index 6c08ce92..55a46777 100644
--- a/content_scripts/vomnibar.coffee
+++ b/content_scripts/vomnibar.coffee
@@ -10,18 +10,7 @@ Vomnibar =
options = {}
searchEngines = Settings.get("searchEngines") ? ""
SearchEngines.refreshAndUse searchEngines, (engines) ->
- for option in registryEntry.options
- [ key, value ] = option.split "="
- switch key
- when "keyword"
- if value? and engines[value]?
- options.keyword = value
- else
- console.log "Vimium configuration error: no such custom search engine: #{option}."
- else
- console.log "Vimium configuration error: unused flag: #{option}."
-
- callback? options
+ callback? registryEntry.options
# sourceFrameId here (and below) is the ID of the frame from which this request originates, which may be different
# from the current frame.