Fixed some variable name mistakes

This commit is contained in:
Bram van der Veen 2015-08-16 18:47:05 +02:00
parent d53f549dbf
commit f2d624bd49
2 changed files with 6 additions and 6 deletions

View file

@ -11,10 +11,10 @@ if !easter || easter.type != "RIP"
li
span A
a(href=match.url, target="_blank") ndere roostersite
each type in match.json.types
each name in match.json.names
li
span=type.letter
a(href='?tab=' + type.tab)=type.value
span=name.letter
a(href='?tab=' + name.tab)=name.value
each day in match.json
.day
.hour.title

View file

@ -31,11 +31,11 @@ function get(req, res, next) {
/**
* 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.
*/
function getSchedule(url, callback) {
var options = url.parse(url);
function getSchedule(getUrl, callback) {
var options = url.parse(getUrl);
options.socksPort = config().torPort;
options.socksHost = config().torHost;