From f2d624bd49c67a33fab596a2417cfeea7769e655 Mon Sep 17 00:00:00 2001 From: Bram van der Veen <96aa48@gmail.com> Date: Sun, 16 Aug 2015 18:47:05 +0200 Subject: [PATCH] Fixed some variable name mistakes --- resources/jade/schedule.jade | 6 +++--- schedule.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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;