aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/vimium_frontend.coffee
diff options
context:
space:
mode:
authormrmr19932015-05-31 18:10:01 +0100
committermrmr19932015-05-31 18:10:01 +0100
commitf09f65c53cddf05544c8fa417bb0d92438c98a63 (patch)
treee20e667336002e8d4ea2b242ae26480713953a9c /content_scripts/vimium_frontend.coffee
parent7e67c3d36b47641b21ec24be5d8f7af11ad08756 (diff)
downloadvimium-f09f65c53cddf05544c8fa417bb0d92438c98a63.tar.bz2
Remove all remaining references to frontend settings
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
-rw-r--r--content_scripts/vimium_frontend.coffee11
1 files changed, 2 insertions, 9 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index 5655ef61..b6c61c04 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -46,9 +46,6 @@ textInputXPath = (->
# must be called beforehand to ensure get() will return up-to-date values.
#
settings =
- isLoaded: false
- port: null
- eventListeners: {}
values:
scrollStepSize: null
linkHintCharacters: null
@@ -64,10 +61,6 @@ settings =
grabBackFocus: null
searchEngines: null
- init: ->
- @port = true
- Settings.init()
-
#
# Give this frame a unique (non-zero) id.
#
@@ -98,7 +91,7 @@ class GrabBackFocus extends Mode
# An input may already be focused. If so, grab back the focus.
@grabBackFocus document.activeElement if document.activeElement
- if settings.isLoaded then activate() else Settings.addEventListener "load", activate
+ if Settings.isLoaded then activate() else Settings.addEventListener "load", activate
grabBackFocus: (element) ->
return @continueBubbling unless DomUtils.isEditable element
@@ -147,7 +140,7 @@ window.initializeModes = ->
new NormalMode
new PassKeysMode
new InsertMode permanent: true
- Scroller.init settings
+ Scroller.init()
#
# Complete initialization work that sould be done prior to DOMReady.