adicu/Courses — pull request #56 by rbtying (2013-04-16 22:05:15+00:00)
Title: Makes AJAX calls more consistently

Makes a consistent interface for getting sections and courses based on their primary keys, and encapsulates the API call into a fillData() call.

Can easily be improved by making Course.prototype.getSections() prefill data for Section, much like how ejs is prefilled for Course. This will reduce API calls by (n-m), where n is the number of sections and m is the number of courses.