mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Rename method
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user