Steve Mao

Results 203 comments of Steve Mao

Docs would be good since I'm not sure I understand it

-1.7.3版更新: -有只叫"鲁小夫"的贱渣,他是知乎网的,你绝对是个贱渣+败类 -他拿我的事件方法出来喷, 那告诉你写事件方法当时,我只是简单马虎写了几句,前后时间用了一小时左右,结果被喷得一文不值。 -好吧,最多的借口都是借口,那么今天特意把事件方法全部重写了 -$(XXX).bind("click",function()) 绑定$(XXX).bind("click",function()) 绑定 - -$(XXX).bind() 全部解开绑定 - -$(XXX).bind("click") 只解开click绑定 - -$(XXX).bind(function) 解开所有该函数(只接受静态函数) - -$(XXX).bind({click:function(){}}) 接受OBJECT对象批量传入批量事件 - -$(XXX).one("click",function()) 只执行一次后解绑事件 - -on方法和bind,一样,我只是$.on=$.bind;掩耳法, - -off方法和unbid一样,我只是$.off=$.unbind;掩耳法, - -那么说吧,我没写on委托事件方法,因为我没有重新定义event方法,如果不重新定义过event,事件委托写了也白写,这个只能以后再加了,我时间很有限。 -...

I don't think this is covered? Which one did you refer to? Happy to contribute to this anyhow 😄

Oh not with `a` or `b` as regex. Also that was just a missing test. BTW just realise you didn't enable travis.

This is supposed to be a failure test.

Basically regex only works for very simple use-cases. In order to support all, I think it will be very complicated and performance might be questionable.

Can you add a description why this should be `BREAKING CHANGES` instead of `BREAKING CHANGE`?

@juliangruber can you enable travis for this module too? 😄 Hmm... looks like its not building on PRs.

@isaacs seems good to you?

No problem. I'm sure there are other places to improve in the code but I'd like to start from here The main purpose of this is not too much of...