Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Nov 27, 2014
1 parent 08e9828 commit c7c1fb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/utils/createRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ function createRouter(options) {
},

/**
* Performs a match of the given path against this router and returns an object with
* the { path, routes, params, query } that match. Returns null if no match can be made.
* Performs a match of the given pathname against this router and returns an object
* with the { routes, params } that match. Returns null if no match can be made.
*/
match: function (path) {
return findMatch(Path.withoutQuery(path), routes, this.defaultRoute, this.notFoundRoute) || null;
Expand Down

0 comments on commit c7c1fb5

Please sign in to comment.