(function(define) {
    'use strict';

    define(['jquery', 'logger'], function($, Logger) {
        return function() {
            $('.last-accessed-link').on('click', function(event) {
                Logger.log('edx.course.home.resume_course.clicked', {
                    url: event.currentTarget.href
                });
            });
            $('.date-summary-verified-upgrade-deadline .date-summary-link').on('click', function() {
                Logger.log('edx.course.enrollment.upgrade.clicked', {location: 'date-sidebar'});
            });
        };
    });
}).call(this, define || RequireJS.define);
