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 | //相关依赖导入
|
9 | import {
|
10 | on,
|
11 | off,
|
12 | one,
|
13 | trigger,
|
14 | getEvent
|
15 | } from './events';
|
16 |
|
17 | class Events{
|
18 | constructor(){
|
19 |
|
20 | }
|
21 | }
|
22 |
|
23 | Events.prototype.on = on;
|
24 | Events.prototype.off = off;
|
25 | Events.prototype.one = one;
|
26 | Events.prototype.trigger = trigger;
|
27 | Events.prototype.getEvent = getEvent;
|
28 |
|
29 | export {
|
30 | Events
|
31 | }
|