EngineeringMode/Grapnel.js — pull request #14 by cecchi (2014-09-03 23:14:00+00:00)
Title: Ignore subsequent routes after .preventDefault()

New to Grapnel but impressed with the functionality so far. I've added the ability to do something like this, which some other routing libraries support in varying formats and can be very useful:

```js
var router = new Grapnel();

router.get('api/*', function(req, e) {
if(!isAuthorized) e.preventDefault();
});

router.get('api/secret', function(req) {
// Authorized users only!
});
```

I'm undecided on whether the use of `preventDefault` is a inappropriate for this behavior, I'm happy to change it to a new method or simply `return false` if that would be clearer. `return false` would more likely be a breaking change.