diff options
| -rw-r--r-- | background_scripts/settings.coffee | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/background_scripts/settings.coffee b/background_scripts/settings.coffee index 07db3a89..b802937e 100644 --- a/background_scripts/settings.coffee +++ b/background_scripts/settings.coffee @@ -5,6 +5,8 @@ root = exports ? window root.Settings = Settings = get: (key) -> + # FIXME(smblott). Remove this line. + return @defaults.searchEngines if key == "searchEngines" if (key of localStorage) then JSON.parse(localStorage[key]) else @defaults[key] set: (key, value) -> @@ -92,6 +94,9 @@ root.Settings = Settings = # put in an example search engine searchEngines: [ # FIXME(smblott) Comment these out before merge. + "# THESE ARE HARD WIRED.\n# YOU CANNOT CHANGE THEM IN THIS VERSION.\n# FOR DEVELOPMENT ONLY." + "g: http://www.google.com/search?q=%s Google" + "l: http://www.google.com/search?q=%s&btnI I'm feeling lucky..." "w: http://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia" "t: http://www.youtube.com/results?search_query=%s Youtube" "m: https://www.google.com/maps/search/%s Google Maps" |
