From c62ffa33ad5230b89f44cb8f3268e6a4e48afd52 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Mon, 1 Jun 2015 07:04:43 +0100 Subject: Re-work unified settings. This is a minor re-working of #1705 from @mrmr1993. The main changes are: - Simplify initialisation logic. - Always initialise Settings immediately and automatically (ie. don't initialise Settings separately and manually in the background, content scripts, options and tests). - Get rid of addEventListener (it's only being used for on "load"). - Add Settings.use() in its place. --- pages/options.coffee | 1 - 1 file changed, 1 deletion(-) (limited to 'pages') diff --git a/pages/options.coffee b/pages/options.coffee index c8c21850..ddab2bf4 100644 --- a/pages/options.coffee +++ b/pages/options.coffee @@ -1,6 +1,5 @@ $ = (id) -> document.getElementById id -Settings.init() bgExclusions = chrome.extension.getBackgroundPage().Exclusions # -- cgit v1.2.3