backbone
backbone copied to clipboard
Router add use object params option
Adding optional parameter to Router to make route callback handlers called with route params being an object instead of array.
https://github.com/jashkenas/backbone/issues/3799
Any backbone guru have time to take a look at this and give me guidance on how to make this better?
Thanks!
Updated routed handler to receive (params, routeData)
with tests.
Removed the route.toString in hash lookup too.
@jridgewell @akre54
Is this PR planned to land on master?