From a43037fe78fb8c44abe8b1bfda84d1a1f9e6215a Mon Sep 17 00:00:00 2001 From: Mario Basic Date: Sat, 13 Jun 2015 22:12:20 +0200 Subject: [PATCH] Added comments for config states and added states for blacklist and whitelist. --- assets/js/config.js | 5 ++++- public/js/bundle.js | 3 ++- public/js/events.js | 3 ++- public/js/options.js | 3 ++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/assets/js/config.js b/assets/js/config.js index 6e61370..bacc4f0 100644 --- a/assets/js/config.js +++ b/assets/js/config.js @@ -30,10 +30,13 @@ var config = { }, // Default theme theme: 'light', + // Valid extension states states: [ 'allGood', 'notLogging', - 'notSignedIn' + 'notSignedIn', + 'blacklisted', + 'whitelisted' ] }; diff --git a/public/js/bundle.js b/public/js/bundle.js index ed370c3..b690da7 100644 --- a/public/js/bundle.js +++ b/public/js/bundle.js @@ -545,7 +545,8 @@ var config = { }, // Default theme theme: 'light', - states: ['allGood', 'notLogging', 'notSignedIn'] + // Valid extension states + states: ['allGood', 'notLogging', 'notSignedIn', 'blacklisted', 'whitelisted'] }; exports['default'] = config; diff --git a/public/js/events.js b/public/js/events.js index e970d4d..1f285e3 100644 --- a/public/js/events.js +++ b/public/js/events.js @@ -134,7 +134,8 @@ var config = { }, // Default theme theme: 'light', - states: ['allGood', 'notLogging', 'notSignedIn'] + // Valid extension states + states: ['allGood', 'notLogging', 'notSignedIn', 'blacklisted', 'whitelisted'] }; exports['default'] = config; diff --git a/public/js/options.js b/public/js/options.js index b1186c6..2e4da5c 100644 --- a/public/js/options.js +++ b/public/js/options.js @@ -104,7 +104,8 @@ var config = { }, // Default theme theme: 'light', - states: ['allGood', 'notLogging', 'notSignedIn'] + // Valid extension states + states: ['allGood', 'notLogging', 'notSignedIn', 'blacklisted', 'whitelisted'] }; exports['default'] = config;