erikringsmuth / app-router

Router for Web Components
https://erikringsmuth.github.io/app-router/
MIT License
611 stars 83 forks source link

Prevent firing 'not-found' if a route is found #15

Closed elliottsj closed 10 years ago

elliottsj commented 10 years ago

Changed break; to return; so that fire('not-found', eventDetail, this); isn't called if a route has been found and activated.

Then ran gulp to generate app-router.html and app-router.js

erikringsmuth commented 10 years ago

Good catch! Thanks Spencer!