Fixed some variable name mistakes
This commit is contained in:
parent
d53f549dbf
commit
f2d624bd49
|
@ -11,10 +11,10 @@ if !easter || easter.type != "RIP"
|
||||||
li
|
li
|
||||||
span A
|
span A
|
||||||
a(href=match.url, target="_blank") ndere roostersite
|
a(href=match.url, target="_blank") ndere roostersite
|
||||||
each type in match.json.types
|
each name in match.json.names
|
||||||
li
|
li
|
||||||
span=type.letter
|
span=name.letter
|
||||||
a(href='?tab=' + type.tab)=type.value
|
a(href='?tab=' + name.tab)=name.value
|
||||||
each day in match.json
|
each day in match.json
|
||||||
.day
|
.day
|
||||||
.hour.title
|
.hour.title
|
||||||
|
|
|
@ -31,11 +31,11 @@ function get(req, res, next) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function for getting the information off of the schedule servers.
|
* Function for getting the information off of the schedule servers.
|
||||||
* @param {String} url - The url of the page that needs to be downloaded.
|
* @param {String} getUrl - The url of the page that needs to be downloaded.
|
||||||
* @param {Function} callback - Callback function to return the downloaded information.
|
* @param {Function} callback - Callback function to return the downloaded information.
|
||||||
*/
|
*/
|
||||||
function getSchedule(url, callback) {
|
function getSchedule(getUrl, callback) {
|
||||||
var options = url.parse(url);
|
var options = url.parse(getUrl);
|
||||||
options.socksPort = config().torPort;
|
options.socksPort = config().torPort;
|
||||||
options.socksHost = config().torHost;
|
options.socksHost = config().torHost;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue