Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed May 23, 2011
1 parent de9dbd1 commit a9b3451
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/express-params.js
Expand Up @@ -23,6 +23,13 @@ exports.extend = function(app){
exports.extend.regexp(app);
};

/**
* Adds `RegExp` support.
*
* @param {express.HTTPServer} app
* @api public
*/

exports.extend.regexp = function(app){
app.param(function(name, fn){
if (fn instanceof RegExp) {
Expand Down

0 comments on commit a9b3451

Please sign in to comment.