You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Arguments passed in to the route method at route time will be passed in
to the handler for that route.
var router = new Router()
router.add('/some/path' function (someParam) {
// someParam would be 123
})
router.route('/some/path', {args: [123]})
|
10 years ago | |
|---|---|---|
| .. | ||
| error.js | 10 years ago | |
| route-node.js | 10 years ago | |
| router.js | 10 years ago | |
| utils.js | 10 years ago | |