Skip to content

Commit

Permalink
Update doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Jul 22, 2014
1 parent 85c220a commit f187c30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions modules/components/Link.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ var withoutProperties = require('../helpers/withoutProperties');
var transitionTo = require('../helpers/transitionTo');
var makeHref = require('../helpers/makeHref');

/**
* A map of <Link> component props that are reserved for use by the
* router and/or React. All other props are used as params that are
* interpolated into the link's path.
*/
var RESERVED_PROPS = {
to: true,
className: true,
Expand Down
4 changes: 2 additions & 2 deletions modules/components/Route.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ var Promise = require('es6-promise').Promise;

/**
* A map of <Route> component props that are reserved for use by the
* router. All other props are considered "static" props and are passed
* through to the route handler.
* router and/or React. All other props are considered "static" and
* are passed through to the route handler.
*/
var RESERVED_PROPS = {
location: true,
Expand Down

0 comments on commit f187c30

Please sign in to comment.