diff --git a/modules/components/Link.js b/modules/components/Link.js index 15bb915201..09c7c0eec4 100644 --- a/modules/components/Link.js +++ b/modules/components/Link.js @@ -109,7 +109,7 @@ var Link = React.createClass({ }); }, - handleClick: function(event) { + handleClick: function (event) { var allowTransition = true; var ret; diff --git a/modules/components/Redirect.js b/modules/components/Redirect.js index b4ee3dddbb..b8546640c9 100644 --- a/modules/components/Redirect.js +++ b/modules/components/Redirect.js @@ -12,12 +12,12 @@ function Redirect(props) { function createRedirectClass(to) { return React.createClass({ statics: { - willTransitionTo: function(transition, params, query) { + willTransitionTo: function (transition, params, query) { transition.redirect(to, params, query); } }, - render: function() { + render: function () { return null; } }); diff --git a/modules/components/Route.js b/modules/components/Route.js index 7085f1a82a..8fb22e5a0e 100644 --- a/modules/components/Route.js +++ b/modules/components/Route.js @@ -72,7 +72,7 @@ var Route = React.createClass({ }, - getDefaultProps: function() { + getDefaultProps: function () { return { preserveScrollPosition: false };