aboutsummaryrefslogtreecommitdiff
path: root/src/content/actions/mark.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/actions/mark.js')
-rw-r--r--src/content/actions/mark.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/content/actions/mark.js b/src/content/actions/mark.js
new file mode 100644
index 0000000..baf5825
--- /dev/null
+++ b/src/content/actions/mark.js
@@ -0,0 +1,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,
+};