Skip to content

Commit

Permalink
Style consistency
Browse files Browse the repository at this point in the history
Give your anonymous functions a little breathing room, guys.
  • Loading branch information
mjackson committed Aug 12, 2014
1 parent 331ff3a commit f51a7c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/components/Link.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ var Link = React.createClass({
});
},

handleClick: function(event) {
handleClick: function (event) {
var allowTransition = true;
var ret;

Expand Down
4 changes: 2 additions & 2 deletions modules/components/Redirect.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
});
Expand Down
2 changes: 1 addition & 1 deletion modules/components/Route.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ var Route = React.createClass({

},

getDefaultProps: function() {
getDefaultProps: function () {
return {
preserveScrollPosition: false
};
Expand Down

0 comments on commit f51a7c6

Please sign in to comment.