Skip to content

Commit 154b06e

Browse files
committed
Gardening
1 parent d58bfbf commit 154b06e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/CaptureClicks.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"use strict";
22

33
var React = require('react');
4-
var Environment = require('./environment');
54
var urllite = require('urllite/lib/core');
5+
var Environment = require('./environment');
66

77
/**
88
* A container component which captures <a> clicks and, if there's a matching
@@ -25,7 +25,7 @@ var CaptureClicks = React.createClass({
2525
// can't make the decision to do that synchronously.
2626
window.location.href = url;
2727
}
28-
}
28+
};
2929
},
3030

3131
onClick: function(e) {
@@ -112,7 +112,8 @@ var CaptureClicks = React.createClass({
112112
var props = {
113113
onClick: this.onClick
114114
};
115-
return this.transferPropsTo(this.props.component(props, this.props.children));
115+
return this.transferPropsTo(
116+
this.props.component(props, this.props.children));
116117
}
117118

118119
});

0 commit comments

Comments
 (0)