add follow fot a tags

This commit is contained in:
Shin'ya Ueoka 2017-08-20 21:19:42 +09:00
parent 99c1b83133
commit 355da18d3d
4 changed files with 119 additions and 1 deletions

View file

@ -1,5 +1,6 @@
import * as scrolls from './scrolls';
import FooterLine from './footer-line';
import Follow from './follow';
import * as actions from '../shared/actions';
var footer = null;
@ -52,6 +53,9 @@ const invokeEvent = (action) => {
case actions.SCROLL_BOTTOM:
scrolls.scrollBottom(window, action[1]);
break;
case actions.FOLLOW_START:
new Follow(window.document, action[1] || false);
break;
}
}