Closed kiinlam closed 8 years ago
原型中的bind方法,没有把eventType、seletor、callback管理起来,在不需要的时候没法destroy。 建议增加unbind方法。
后续会添加支持~
2.0.2 已加入管理机制,用于unbind,在destroy时会自动解绑全部事件句柄
原型中的bind方法,没有把eventType、seletor、callback管理起来,在不需要的时候没法destroy。 建议增加unbind方法。