Fakultas Ilmu Komputer UI

Commit 936fc8f5 authored by wajdifarid's avatar wajdifarid
Browse files

Add assignment mapper function

parent 6f6f1177
......@@ -9,3 +9,14 @@ function getCourseSemester(courseId, courseGroup) {
throw "Course not found"
function htmlToAssignment(assignment) {
var assignment_li = document.createElement("li");
var course = assignment.getElementsByClassName("course")[0];
var name = assignment.getElementsByClassName("referer")[0].children[0];
var time = assignment.getElementsByClassName("dimmed_text")[0].innerText;
return assignment_li
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment