Added RECEIVED_ANALYTICS action

This commit is contained in:
Harrison Healey
2016-03-29 12:08:05 -04:00
parent bf636404d2
commit 517cd301d3
2 changed files with 3 additions and 2 deletions

View File

@@ -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 = {

View File

@@ -68,6 +68,7 @@ export default {
RECEIVED_PREFERENCE: null,
RECEIVED_PREFERENCES: null,
RECEIVED_FILE_INFO: null,
RECEIVED_ANALYTICS: null,
RECEIVED_MSG: null,