quirkey / sammy

Sammy is a tiny javascript framework built on top of jQuery, It's RESTful Evented Javascript.
http://sammyjs.org
MIT License
2.99k stars 384 forks source link

Events on and off, jQuery >= 1.7 #180

Closed jupapios closed 11 years ago

jupapios commented 11 years ago

live and die are deprecated and jquery 1.9 no longer supports them

endor commented 11 years ago

I think for now it makes sense to keep backward compatibility with delegate/undelegate. What do you think?

dmr commented 11 years ago

+1 to replace live and die with on and off.

https://github.com/jquery/jquery-migrate/

complains about my application because Sammy.js uses .live and .die

endor commented 11 years ago

As I said, it now uses delegate/undelegate instead of live/die. Does that solve your problem?

dmr commented 11 years ago

Yes, thank you!

Azatey commented 11 years ago

Could you please also update NuGet package with this fix? Thank you.

quirkey commented 11 years ago

This was fixed with the backwards compatible delegate in master and now 0.7.3. Well move to on in the next release