Skip to content

Commit 107ea3e

Browse files
committed
renaming method fighter to getFighter
1 parent 8bddfaa commit 107ea3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ufc/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ var cheerio = require("cheerio");
1515

1616
//-------------------------------------------------------+
1717
// Get Fighter Profile Data
18-
// ufc.fighter(url, callback(data));
18+
// ufc.getFighter(url, callback(data));
1919
//-------------------------------------------------------+
2020

21-
module.exports.fighter = function(url, callback) {
21+
module.exports.getFighter = function(url, callback) {
2222
request(url, function(error, response, html) {
2323
if (!error && response.statusCode == 200) {
2424
var $ = cheerio.load(html);

0 commit comments

Comments
 (0)