diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-26 20:08:17 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-26 20:08:17 +0900 |
commit | 6213f55e22f79eb8b7572a619e0fc68047c0631e (patch) | |
tree | ca4db6739528100a6dd965700fc7ffc707f22a74 /src/content/index.js | |
parent | eec79730606ab3b49529d8063c6646d6309d8084 (diff) | |
parent | cb36fc666cb2615f911bc855bc91249d167f0dba (diff) |
Merge branch 'some-features'
Diffstat (limited to 'src/content/index.js')
-rw-r--r-- | src/content/index.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/content/index.js b/src/content/index.js index 78389fd..2bbe39c 100644 --- a/src/content/index.js +++ b/src/content/index.js @@ -1,7 +1,8 @@ import * as scrolls from './scrolls'; +import * as histories from './histories'; +import * as actions from '../shared/actions'; import FooterLine from './footer-line'; import Follow from './follow'; -import * as actions from '../shared/actions'; var footer = null; @@ -56,6 +57,12 @@ const invokeEvent = (action) => { case actions.FOLLOW_START: new Follow(window.document, action[1] || false); break; + case actions.HISTORY_PREV: + histories.prev(window); + break; + case actions.HISTORY_NEXT: + histories.next(window); + break; } } |