We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bddfaa commit 107ea3eCopy full SHA for 107ea3e
lib/ufc/index.js
@@ -15,10 +15,10 @@ var cheerio = require("cheerio");
15
16
//-------------------------------------------------------+
17
// Get Fighter Profile Data
18
-// ufc.fighter(url, callback(data));
+// ufc.getFighter(url, callback(data));
19
20
21
-module.exports.fighter = function(url, callback) {
+module.exports.getFighter = function(url, callback) {
22
request(url, function(error, response, html) {
23
if (!error && response.statusCode == 200) {
24
var $ = cheerio.load(html);
0 commit comments