From 6043f25b8dcbba3a522df4ddf59e1070fdc134e5 Mon Sep 17 00:00:00 2001 From: Jez Ng Date: Sat, 4 Aug 2012 13:16:14 -0700 Subject: linkHintCss should be accessed via settings. Closes #605. --- content_scripts/vimium_frontend.coffee | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'content_scripts/vimium_frontend.coffee') diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 77c9e296..21c366e9 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -19,7 +19,6 @@ isEnabledForUrl = true # The user's operating system. currentCompletionKeys = null validFirstKeys = null -linkHintCss = null activatedElement = null # The types in that we consider for focusInput command. Right now this is recalculated in @@ -46,7 +45,7 @@ settings = values: {} loadedValues: 0 valuesToLoad: ["scrollStepSize", "linkHintCharacters", "filterLinkHints", "hideHud", "previousPatterns", - "nextPatterns", "findModeRawQuery"] + "nextPatterns", "findModeRawQuery", "userDefinedLinkHintCss"] isLoaded: false eventListeners: {} @@ -100,9 +99,6 @@ initializePreDomReady = -> checkIfEnabledForUrl() - chrome.extension.sendRequest { handler: "getLinkHintCss" }, (response) -> - linkHintCss = response.linkHintCss - refreshCompletionKeys() # Send the key to the key handler in the background page. @@ -1030,7 +1026,6 @@ window.onbeforeunload = -> root = exports ? window root.window = window root.settings = settings -root.linkHintCss = linkHintCss root.addCssToPage = addCssToPage root.HUD = HUD root.handlerStack = handlerStack -- cgit v1.2.3