Skip to content

Commit

Permalink
removed rest of debug code
Browse files Browse the repository at this point in the history
(developing on the correct branch this time)
  • Loading branch information
briankchan committed Aug 25, 2014
1 parent ae17540 commit d030cfa
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,7 @@ function createDay(week, date) {
* replacements is an array of strings of the form "OldName->NewName"
*/
function makePeriodNameReplacements(periodName, replacements) {
console.log("hi");
if(replacements.length > 0) {

console.log(replacements);
for(var i=0;i<replacements.length;i++) {
if(!replacements[i].indexOf(periodName))
return replacements[i].substring(replacements[i].indexOf("->")+2);
Expand Down Expand Up @@ -367,9 +364,6 @@ function getDayInfo(day) {
//cut replacements and space character out of id and save separately
id = schedules[0][i].substring(schedules[0][i].indexOf("\t")+1,schedules[0][i].indexOf("[")-1)
replacements = schedules[0][i].substring(schedules[0][i].indexOf("[")+1,schedules[0][i].indexOf("]")).split(",");

console.log(replacements)
console.log(id);
} else {
// no replacements to be made
id = schedules[0][i].substring(schedules[0][i].indexOf("\t")+1);
Expand Down

0 comments on commit d030cfa

Please sign in to comment.