From e8476682362b9648aba874e8581fe9076479f734 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Mon, 1 Jun 2015 09:46:41 +0100 Subject: Remove LinkHints.init()... LinkHints.init() isn't doing anything. --- content_scripts/link_hints.coffee | 5 ----- content_scripts/vimium_frontend.coffee | 2 -- 2 files changed, 7 deletions(-) (limited to 'content_scripts') diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index 0ea40bd3..2bcc7508 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -35,11 +35,6 @@ LinkHints = # Call this function on exit (if defined). onExit: null - # - # To be called after linkHints has been generated from linkHintsBase. - # - init: -> - # We need this as a top-level function because our command system doesn't yet support arguments. activateModeToOpenInNewTab: -> @activateMode(OPEN_IN_NEW_BG_TAB) activateModeToOpenInNewForegroundTab: -> @activateMode(OPEN_IN_NEW_FG_TAB) diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index bb1e971f..8000a9ec 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -126,8 +126,6 @@ window.initializeModes = -> # Complete initialization work that sould be done prior to DOMReady. # initializePreDomReady = -> - Settings.use "theKeyHereDoesNotMatter", LinkHints.init.bind LinkHints - initializeModes() checkIfEnabledForUrl() refreshCompletionKeys() -- cgit v1.2.3