2017-10-12 10:00:28 +08:00
|
|
|
import RedisPubSub from '/imports/startup/server/redis';
|
2016-10-21 19:41:17 +08:00
|
|
|
import handleSlideResize from './handlers/slideResize';
|
|
|
|
import handleSlideChange from './handlers/slideChange';
|
|
|
|
|
2017-10-12 08:59:35 +08:00
|
|
|
RedisPubSub.on('ResizeAndMovePageEvtMsg', handleSlideResize);
|
|
|
|
RedisPubSub.on('SetCurrentPageEvtMsg', handleSlideChange);
|