summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-29 16:49:42 -0400
committerChristopher Speller <crspeller@gmail.com>2016-03-29 16:49:42 -0400
commit29f4548fea99c2d90ecc866a59fe6a98308b8b40 (patch)
tree490cc8b0ee074972753a396ccb74a7081aaa4f87 /webapp
parent9c36210edd7cae4026e3a2ee472cf2fa751a0f77 (diff)
parent517cd301d370f0db0f81219e1fdf7f89562dc0ad (diff)
downloadchat-29f4548fea99c2d90ecc866a59fe6a98308b8b40.tar.gz
chat-29f4548fea99c2d90ecc866a59fe6a98308b8b40.tar.bz2
chat-29f4548fea99c2d90ecc866a59fe6a98308b8b40.zip
Merge pull request #2564 from hmhealey/actions
Added RECEIVED_ANALYTICS action
Diffstat (limited to 'webapp')
-rw-r--r--webapp/dispatcher/app_dispatcher.jsx4
-rw-r--r--webapp/utils/constants.jsx1
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,