-
-
Notifications
You must be signed in to change notification settings - Fork 33
ignore non-string routes #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@@ -53,7 +53,7 @@ methods.forEach(function(method){ | |||
, self = this; | |||
|
|||
this.namespace(path, function(){ | |||
path = this._ns.join('/').replace(/\/\//g, '/').replace(/\/$/, '') || '/'; | |||
path = 'string' != typeof path ? path : this._ns.join('/').replace(/\/\//g, '/').replace(/\/$/, '') || '/'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation / tests ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bah, is it spaces or tabs? of course the indentation looks fine in my IDE :)
For my purposes I actually can just use my own fork pretty easily, but if you do want these changes, I can rebase the commits or change anything... |
At that point I think you should ask @visionmedia for maintainer :). |
@visionmedia you can also just move all the express repos to the expressjs org and i can add maintainers and team members |
just ignore routes that aren't string. fixes #5, #21