dispatcher-js
dispatcher-js copied to clipboard
Added parameter 'route' to the init method
Added parameter 'route' to the init method and if not past the route will be recovered from any elements that have a 'date-route' attribute is not bound only to the 'body'.
Also, please test this new functionality. :)
Oh, one more thing... please update the README file to reflect this new feature.
Thanks for the feedback, I will make corrections.