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

30 lines
503 B
JavaScript
Raw Normal View History

import * as ActionTypes from '../../../constants';
export function toggleBeep() {
return {
type: ActionTypes.TOGGLE_BEEP
};
}
2016-08-11 19:24:02 +02:00
export function updateLintMessage(severity, line, message) {
return {
type: ActionTypes.UPDATE_LINTMESSAGE,
severity,
line,
message
};
}
export function clearLintMessage() {
return {
type: ActionTypes.CLEAR_LINTMESSAGE
};
}
export function updateLineNumber(lineNo) {
return {
type: ActionTypes.UPDATE_LINENUMBER,
lineNo
};
}