backbone icon indicating copy to clipboard operation
backbone copied to clipboard

Router add use object params option

Open ntgn81 opened this issue 9 years ago • 3 comments

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

ntgn81 avatar Oct 02 '15 18:10 ntgn81

Any backbone guru have time to take a look at this and give me guidance on how to make this better?

Thanks!

ntgn81 avatar Oct 09 '15 14:10 ntgn81

Updated routed handler to receive (params, routeData) with tests.

Removed the route.toString in hash lookup too.

@jridgewell @akre54

ntgn81 avatar Oct 28 '15 03:10 ntgn81

Is this PR planned to land on master?

wlepinski avatar Jun 16 '16 00:06 wlepinski