Skip to content
This repository

DataLocationProxy is broken #16

Closed
dready92 opened this Issue · 2 comments

2 participants

Mickael Bailly Aaron Quint
Mickael Bailly

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...

Aaron Quint
Owner

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.

Aaron Quint
Owner

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
Something went wrong with that request. Please try again.