Currently uses just a onhashchange event that has hardcoded events based on the URL. This should be dynamic. Something like:
url.register('/agenda/[0-9]+',function(matches){
console.log(matches[0]); //Would return the agenda id 12 from http://site.com/agendaapp/#!/agenda/12, for example
});
Currently uses just a
onhashchange
event that has hardcoded events based on the URL. This should be dynamic. Something like: