olivernn / davis.js

RESTful degradable JavaScript routing using pushState
http://davisjs.com
532 stars 58 forks source link

Fix for hashRouting module #27

Closed olivernn closed 12 years ago

olivernn commented 12 years ago

Currently there are a couple of issues in the hashRouting extension, need to change the wrapper method to something like this:

var wrapper = function(request, setter) {
    setter("#" + options.prefix + request.location());
    lastPolledLocation = getLocation();
    invokeCallbacks(request);
};
olivernn commented 12 years ago

Fixed in the latest release