Skip to content

Commit

Permalink
Added RECEIVED_ANALYTICS action
Browse files Browse the repository at this point in the history
  • Loading branch information
hmhealey committed Mar 29, 2016
1 parent 22b96d0 commit 6e153ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dispatcher/app_dispatcher.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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 = {
Expand Down
1 change: 1 addition & 0 deletions utils/constants.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export default {
RECEIVED_PREFERENCE: null,
RECEIVED_PREFERENCES: null,
RECEIVED_FILE_INFO: null,
RECEIVED_ANALYTICS: null,

RECEIVED_MSG: null,

Expand Down

0 comments on commit 6e153ec

Please sign in to comment.