diff --git a/resources/jade/schedule.jade b/resources/jade/schedule.jade index 71a66d5..a937119 100644 --- a/resources/jade/schedule.jade +++ b/resources/jade/schedule.jade @@ -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 diff --git a/schedule.js b/schedule.js index 7d8151f..87c5bf5 100644 --- a/schedule.js +++ b/schedule.js @@ -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;