Rename method

This commit is contained in:
Héctor Ramos
2016-08-04 14:09:30 -07:00
parent b61613ec38
commit 30b75e2ca4
+2 -2
View File
@@ -11,7 +11,7 @@
var React = require('React');
function getVersionedGitHubPath(path) {
function getGitHubPath(path) {
return [
'https://github.com/facebook/react-native/blob/master',
path
@@ -22,7 +22,7 @@ var Footer = React.createClass({
render: function() {
return (
<p className="edit-page-block">
You can <a target="_blank" href={getVersionedGitHubPath(this.props.path)} >edit this page on GitHub</a> and send us a pull request!
You can <a target="_blank" href={getGitHubPath(this.props.path)} >edit this page on GitHub</a> and send us a pull request!
</p>
);
}