From c7c1fb5dee793d7d64491387e60fd4f6c4503fe3 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Thu, 27 Nov 2014 11:27:09 -0800 Subject: [PATCH] Update doc --- modules/utils/createRouter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/utils/createRouter.js b/modules/utils/createRouter.js index a574673e3b..923a195d25 100644 --- a/modules/utils/createRouter.js +++ b/modules/utils/createRouter.js @@ -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;