2016-08-10 17:13:17 +02:00
|
|
|
import * as ActionTypes from '../../../constants';
|
|
|
|
|
2016-08-11 19:24:02 +02:00
|
|
|
export function updateLintMessage(severity, line, message) {
|
|
|
|
return {
|
2016-08-11 20:09:59 +02:00
|
|
|
type: ActionTypes.UPDATE_LINT_MESSAGE,
|
2016-08-11 19:24:02 +02:00
|
|
|
severity,
|
|
|
|
line,
|
|
|
|
message
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
export function clearLintMessage() {
|
|
|
|
return {
|
2016-08-11 20:09:59 +02:00
|
|
|
type: ActionTypes.CLEAR_LINT_MESSAGE
|
2016-08-11 19:24:02 +02:00
|
|
|
};
|
|
|
|
}
|
2020-08-20 21:27:40 +02:00
|
|
|
|
|
|
|
export function toggleForceDesktop() {
|
|
|
|
return {
|
|
|
|
type: ActionTypes.TOGGLE_FORCE_DESKTOP
|
|
|
|
};
|
|
|
|
}
|