Skip to content

Commit

Permalink
version-2.1.2 (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
wzy403 authored Mar 1, 2024
1 parent ec8c435 commit d6a857f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>com.uoftbox</groupId>
<artifactId>uofttimetablebuilder</artifactId>
<version>2.1.1-RELEASE</version>
<version>2.1.2-RELEASE</version>
<name>uofttimetablebuilder</name>
<description>UofT Timetable Builder</description>
<properties>
Expand Down
18 changes: 0 additions & 18 deletions src/main/resources/static/scr/timetablebuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ var all_saved_timetables = {};

var blank_timetable = {};

var fallTimetableInfo = {};
var winterTimetableInfo = {};

//************ UI Element Initialization ****************//
var $select = $(".relevantCourses").selectize(); // 输入-下滑选择框生成
var selectControl = $select[0].selectize;
Expand Down Expand Up @@ -402,10 +399,6 @@ function saveTimetable(data = null) {
timetableFall[tempTime][day] = info;
}
}
if (!(courseInfo.course in fallCourseChoose)) {
fallCourseChoose[courseInfo.course] = [];
}
fallCourseChoose[courseInfo.course].push(info);
}
}
// 将winter课程元素加入至winter timetable模板
Expand All @@ -426,10 +419,6 @@ function saveTimetable(data = null) {
timetableWinter[tempTime][day] = info;
}
}
if (!(courseInfo.course in winterTimetableInfo)) {
winterTimetableInfo[courseInfo.course] = [];
}
winterTimetableInfo[courseInfo.course].push(info);
}
}
received_timetables[index] = {
Expand Down Expand Up @@ -1167,13 +1156,6 @@ function getTimeInfo(courseCode, sectionCode) {
return info;
}

function getchangeCourseTimeInfo(courseCode, sectionCode) {
if (sectionCode === "F") {
return fallTimetableInfo[courseCode];
}
return winterTimetableInfo[courseCode];
}

function deleteCourse(deleteBtn) {
let deleteId = deleteBtn.id;

Expand Down

0 comments on commit d6a857f

Please sign in to comment.