Merge pull request #2564 from hmhealey/actions
Added RECEIVED_ANALYTICS action
Этот коммит содержится в:
@@ -9,7 +9,7 @@ const PayloadSources = Constants.PayloadSources;
|
|||||||
const AppDispatcher = Object.assign(new Flux.Dispatcher(), {
|
const AppDispatcher = Object.assign(new Flux.Dispatcher(), {
|
||||||
handleServerAction: function performServerAction(action) {
|
handleServerAction: function performServerAction(action) {
|
||||||
if (!action.type) {
|
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 = {
|
var payload = {
|
||||||
@@ -21,7 +21,7 @@ const AppDispatcher = Object.assign(new Flux.Dispatcher(), {
|
|||||||
|
|
||||||
handleViewAction: function performViewAction(action) {
|
handleViewAction: function performViewAction(action) {
|
||||||
if (!action.type) {
|
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 = {
|
var payload = {
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ export default {
|
|||||||
RECEIVED_PREFERENCE: null,
|
RECEIVED_PREFERENCE: null,
|
||||||
RECEIVED_PREFERENCES: null,
|
RECEIVED_PREFERENCES: null,
|
||||||
RECEIVED_FILE_INFO: null,
|
RECEIVED_FILE_INFO: null,
|
||||||
|
RECEIVED_ANALYTICS: null,
|
||||||
|
|
||||||
RECEIVED_MSG: null,
|
RECEIVED_MSG: null,
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user