Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

don't error if no options are passed to constructor

  • Loading branch information...
commit b7cd4f6e8b9a004d5c7dc3d0c521e0076688bdd7 1 parent 99dd1fd
@cloudhead authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/journey.js
View
2  lib/journey.js
@@ -80,7 +80,7 @@ journey.Router = function Router(routes, options) {
});
this.routes = [];
- this.options = mixin({}, journey.options, options);
+ this.options = mixin({}, journey.options, options || {});
if (this.options.extension) {
this.options.extension = this.options.extension.replace('.', '\\.');
Please sign in to comment.
Something went wrong with that request. Please try again.