From 517cd301d370f0db0f81219e1fdf7f89562dc0ad Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 29 Mar 2016 12:08:05 -0400 Subject: Added RECEIVED_ANALYTICS action --- webapp/dispatcher/app_dispatcher.jsx | 4 ++-- webapp/utils/constants.jsx | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/webapp/dispatcher/app_dispatcher.jsx b/webapp/dispatcher/app_dispatcher.jsx index 987bb9c6a..5e43d3ad7 100644 --- a/webapp/dispatcher/app_dispatcher.jsx +++ b/webapp/dispatcher/app_dispatcher.jsx @@ -9,7 +9,7 @@ const PayloadSources = Constants.PayloadSources; const AppDispatcher = Object.assign(new Flux.Dispatcher(), { handleServerAction: function performServerAction(action) { if (!action.type) { - console.log('handleServerAction called with undefined action type'); // eslint-disable-line no-console + console.warning('handleServerAction called with undefined action type'); // eslint-disable-line no-console } var payload = { @@ -21,7 +21,7 @@ const AppDispatcher = Object.assign(new Flux.Dispatcher(), { handleViewAction: function performViewAction(action) { if (!action.type) { - console.log('handleServerAction called with undefined action type'); // eslint-disable-line no-console + console.warning('handleViewAction called with undefined action type'); // eslint-disable-line no-console } var payload = { diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx index bcd2fadb9..642ff5fe3 100644 --- a/webapp/utils/constants.jsx +++ b/webapp/utils/constants.jsx @@ -68,6 +68,7 @@ export default { RECEIVED_PREFERENCE: null, RECEIVED_PREFERENCES: null, RECEIVED_FILE_INFO: null, + RECEIVED_ANALYTICS: null, RECEIVED_MSG: null, -- cgit v1.2.3-1-g7c22