I went through the documentation of the router of rendrjs
and there is no mention of an optional parameter, and although they are saying, it's build very similar to the backbone router, it doesn't understand ()
as optional parameter...
so, does anyone here know what might be the way, or a work around it?
thanks in advance
I dont know about rendrjs but in Backbone you can define multiple routes in your router like that
and than in your videoFn check if your param is defined