* @function Events.prototype.registerPriority * @description 相同的注册方法,但是在前面增加新的监听者事件查询而代替到方法的结束。 * @param {string} type - 事件注册者的名字。 * @param {Object} [obj=this.object] - 对象绑定的回调。 * @param {function} [func] - 回调函数,如果没有特定的回调,则这个函数不做任何事情。
(type, obj, func)
| 276 | * @param {function} [func] - 回调函数,如果没有特定的回调,则这个函数不做任何事情。 |
| 277 | */ |
| 278 | registerPriority(type, obj, func) { |
| 279 | this.register(type, obj, func, true); |
| 280 | } |
| 281 | |
| 282 | |
| 283 | /** |