UNPKG

447 BJavaScriptView Raw
1/**
2 * Module : Kero webpack entry events index
3 * Author : liuyk(liuyuekai@yonyou.com)
4 * Date : 2016-08-09 15:24:46
5 */
6
7
8 //相关依赖导入
9import {
10 on,
11 off,
12 one,
13 trigger,
14 getEvent
15} from './events';
16
17class Events{
18 constructor(){
19
20 }
21}
22
23Events.prototype.on = on;
24Events.prototype.off = off;
25Events.prototype.one = one;
26Events.prototype.trigger = trigger;
27Events.prototype.getEvent = getEvent;
28
29export {
30 Events
31}