aboutsummaryrefslogtreecommitdiff
path: root/src/content/actions/mark.js
blob: baf582595143b5aa424463e999e761cc0f651c90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import actions from 'content/actions';

const startSet = () => {
  return { type: actions.MARK_START_SET };
};

const startJump = () => {
  return { type: actions.MARK_START_JUMP };
};

const cancel = () => {
  return { type: actions.MARK_CANCEL };
};

const setLocal = (key, y) => {
  return {
    type: actions.MARK_SET_LOCAL,
    key,
    y,
  };
};

export {
  startSet, startJump, cancel, setLocal,
};