コード例 #1
0
 initialize(options) {
   this.tpl = HtmlUtils.template(sidebarTpl);
   this.courseModel = options.courseModel || {};
   this.certificateCollection = options.certificateCollection || [];
   this.programCertificate = this.getProgramCertificate();
   this.programRecordUrl = options.programRecordUrl;
   this.creditPathways = options.creditPathways;
   this.programModel = options.model;
   this.render();
 }
コード例 #2
0
 initialize(options) {
   this.tpl = HtmlUtils.template(certificateTpl);
   this.title = options.title || false;
   this.render();
 }
コード例 #3
0
 initialize(options) {
   this.expiredNotificationTpl = HtmlUtils.template(expiredNotificationTpl);
   this.$el = options.$el;
   this.render();
 }