(options)
| 49 | } |
| 50 | |
| 51 | constructor (options) { |
| 52 | super(options) |
| 53 | |
| 54 | this.courses = new Courses() |
| 55 | this.supermodel.trackRequest(this.courses.fetchReleased()) |
| 56 | |
| 57 | window.localStorage.setItem('lastUpdatedCocoStarPage', +new Date('2021-3-30 18:00:00')) |
| 58 | window?.localStorage?.setItem('lastUpdatedEventPage', +new Date('2021-3-30 18:00:00')) |
| 59 | |
| 60 | this.homeCN = {} |
| 61 | this.mandate = this.supermodel.loadModel(new Mandate()).model |
| 62 | this.listenTo(this.mandate, 'sync', this.getMandate) |
| 63 | // @getBanner() |
| 64 | if (me.isTeacher()) { |
| 65 | this.trialRequests = new TrialRequests() |
| 66 | this.trialRequests.fetchOwn() |
| 67 | this.supermodel.loadCollection(this.trialRequests) |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | getMeta () { |
| 72 | return { |
nothing calls this directly
no test coverage detected