DataLocationProxy is broken #16

Closed
dready92 opened this Issue Mar 17, 2010 · 2 comments

Projects

None yet

2 participants

@dready92

Hello,

your Sammy.DataLocationProxy is broken : unfortunately jQuery (1.4.2) fires the setData event before actually updating the data store. So when you try a simple :

$.sammy('#main').bind("location-changed", function() {
    $.sammy('#main').log(  $.sammy('#main').getLocation()  );  
});

you get the old location...

@quirkey
Owner
quirkey commented Mar 18, 2010

Looking into this - it must be a recent change in jQuery because this was definitely working with 1.4. thanks for the bug reports! I appreciate it.

@quirkey
Owner
quirkey commented Mar 21, 2010

Actually fix the DataLocationProxy issue with accurate tests. Closed by 82c2927

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment