14 Commits (master)

Author SHA1 Message Date
Buddy Sandidge 79ea9c96be 0.2.4 4 years ago
Buddy Sandidge 31bd5b6167 update email in package.json 4 years ago
Buddy Sandidge 77e3c8ea17 0.2.3 4 years ago
Buddy Sandidge aa8a2c5e80 Merge branch 'master' of ssh://git.buddy.wtf/archive/routing-buddy 4 years ago
Buddy Sandidge 19a206bf1e update dependencies 4 years ago
Buddy Sandidge 5ec2a54150 Add semicolon lint rule 5 years ago
Buddy Sandidge 898b8f6d5a 0.2.2 5 years ago
Buddy Sandidge 74f1f119e1 Update outdated packages 5 years ago
Buddy Sandidge ff7d7a252b Update dependencies to fix vulnerabilities 6 years ago
Buddy Sandidge 2784f9d492 Add the ability to pass arguments to the route handler at route time
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]})
9 years ago
Buddy Sandidge 2fbcab6dd2 Bump to version 0.1.2 9 years ago
Buddy Sandidge 9da1eabbf2 Bump to 0.1.1 9 years ago
Buddy Sandidge cc45cf24ee Bump to version 0.1.0 9 years ago
Buddy Sandidge 10371b7b1e Add Router that only matches exact strings with bootstrapped project
• Add linting with eslint
 • Add unit testing support with mocha with unit tests
 • Add Router class with support for only matching exact strings
 • Add RouteNode class for transversing all routes
9 years ago