From 2c932c2d6013f2baf09d98b61846e59db6fa9147 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 9 Feb 2013 04:53:35 +0000 Subject: [PATCH] naming --- static/js/pandora/infoView.0xdb.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/js/pandora/infoView.0xdb.js b/static/js/pandora/infoView.0xdb.js index 6e0b4ce66..5d7367ddf 100644 --- a/static/js/pandora/infoView.0xdb.js +++ b/static/js/pandora/infoView.0xdb.js @@ -660,7 +660,7 @@ pandora.ui.infoView = function(data) { function parseTitle(title) { var data = {title: title}, match = /(\(S(\d{2})E(\d{2})\))/.exec(title), - episode_match = /(.+) \(S01\) (.+)/.exec(title), + episodeMatch = /(.+) \(S01\) (.+)/.exec(title), split; if (match) { data.season = parseInt(match[2], 10); @@ -668,9 +668,9 @@ pandora.ui.infoView = function(data) { split = title.split(match[1]); data.seriesTitle = split[0].trim(); data.episodeTitle = split[1].trim(); - } else if (episode_match) { - data.seriesTitle = episode_match[1].trim(); - data.episodeTitle = episode_match[2].trim(); + } else if (episodeMatch) { + data.seriesTitle = episodeMatch[1].trim(); + data.episodeTitle = episodeMatch[2].trim(); } return data; }