2017-01-10 00:09:23 +01:00
|
|
|
import * as ActionTypes from '../../../constants';
|
|
|
|
|
|
|
|
export function clearConsole() {
|
|
|
|
return {
|
|
|
|
type: ActionTypes.CLEAR_CONSOLE
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2017-01-11 20:13:49 +01:00
|
|
|
export function dispatchConsoleEvent(messages) {
|
2017-01-10 00:09:23 +01:00
|
|
|
return {
|
|
|
|
type: ActionTypes.CONSOLE_EVENT,
|
2017-01-11 20:13:49 +01:00
|
|
|
event: messages
|
2017-01-10 00:09:23 +01:00
|
|
|
};
|
|
|
|
}
|