From f4349d735075088b204612f1d133f510dc8d5f2c Mon Sep 17 00:00:00 2001 From: Darren Jeacocke Date: Wed, 4 Jul 2012 16:47:19 +1000 Subject: Use block strings for settings --- background_scripts/settings.coffee | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) (limited to 'background_scripts') diff --git a/background_scripts/settings.coffee b/background_scripts/settings.coffee index 3b80dba6..af0f8f16 100644 --- a/background_scripts/settings.coffee +++ b/background_scripts/settings.coffee @@ -8,21 +8,28 @@ Settings = filterLinkHints: false hideHud: false userDefinedLinkHintCss: - "div > .vimiumHintMarker {" + "\n" + - "/* linkhint boxes */ " + "\n" + - "background-color: yellow;" + "\n" + - "border: 1px solid #E3BE23;" + "\n" + - "}" + "\n\n" + - "div > .vimiumHintMarker span {" + "\n" + - "/* linkhint text */ " + "\n" + - "color: black;" + "\n" + - "font-weight: bold;" + "\n" + - "font-size: 12px;" + "\n" + - "}" + "\n\n" + - "div > .vimiumHintMarker > .matchingCharacter {" + "\n" + - "}" - excludedUrls: "http*://mail.google.com/*\n" + - "http*://www.google.com/reader/*\n" + """ + div > .vimiumHintMarker { + /* linkhint boxes */ + background-color: yellow; + border: 1px solid #E3BE23; + } + + div > .vimiumHintMarker span { + /* linkhint text */ + color: black; + font-weight: bold; + font-size: 12px; + } + + div > .vimiumHintMarker > .matchingCharacter { + } + """ + excludedUrls: + """ + http*://mail.google.com/* + http*://www.google.com/reader/* + """ # NOTE : If a page contains both a single angle-bracket link and a double angle-bracket link, then in # most cases the single bracket link will be "prev/next page" and the double bracket link will be -- cgit v1.2.3