p5.js-web-editor/client/modules/IDE/actions/console.js

15 lines
264 B
JavaScript
Raw Permalink Normal View History

import * as ActionTypes from '../../../constants';
export function clearConsole() {
return {
type: ActionTypes.CLEAR_CONSOLE
};
}
export function dispatchConsoleEvent(messages) {
return {
type: ActionTypes.CONSOLE_EVENT,
event: messages
};
}