1602 / compound

MVC framework. Built on Node.JS. Works on server and browser.
http://compoundjs.com
1.6k stars 183 forks source link

Use jquery 1.9.1 #416

Open 1602 opened 11 years ago

1602 commented 11 years ago

replace .live with .on

saschagehlich commented 11 years ago

@1602 So this is done?

anatoliychakkaev commented 11 years ago

In the middle. I've done some changes in rails.js, but delete links stopped working in case of one-page apps. Need to investigate correct way of binding events after reloading part of page via ajax.

On Sat, Mar 16, 2013 at 6:51 PM, Sascha Gehlich notifications@github.comwrote:

@1602 https://github.com/1602 So this is done?

— Reply to this email directly or view it on GitHubhttps://github.com/1602/compound/issues/416#issuecomment-15007992 .

pocesar commented 11 years ago

use delegation instead of binding $(document).on('event', 'selector', function(){});