Closed zksward closed 5 years ago
Removed unnecessary path parameter and changed to Array.prototype.some for short-circuiting behavior. An alternative to this change would be to add a parameter to Route.match that takes a path (the default is location.pathname).
Removed unnecessary path parameter and changed to Array.prototype.some for short-circuiting behavior. An alternative to this change would be to add a parameter to Route.match that takes a path (the default is location.pathname).