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

17 lines
307 B
JavaScript
Raw Normal View History

import * as ActionTypes from '../../../constants';
2016-08-11 17:24:02 +00:00
export function updateLintMessage(severity, line, message) {
return {
2016-08-11 18:09:59 +00:00
type: ActionTypes.UPDATE_LINT_MESSAGE,
2016-08-11 17:24:02 +00:00
severity,
line,
message
};
}
export function clearLintMessage() {
return {
2016-08-11 18:09:59 +00:00
type: ActionTypes.CLEAR_LINT_MESSAGE
2016-08-11 17:24:02 +00:00
};
}