| 23 | let includedCampaigns |
| 24 | LevelGuidesView = class LevelGuidesView extends RootView { |
| 25 | static initClass () { |
| 26 | this.prototype.template = template |
| 27 | this.prototype.id = 'level-guides-view' |
| 28 | this.prototype.events = { |
| 29 | 'click #overview-button': 'onOverviewButtonClicked', |
| 30 | 'click #intro-button': 'onIntroButtonClicked', |
| 31 | } |
| 32 | |
| 33 | excludedCampaigns = [ |
| 34 | 'auditions', |
| 35 | ] |
| 36 | includedCampaigns = [ |
| 37 | 'intro', 'course-2', 'course-3', 'course-4', 'course-5', 'course-6', |
| 38 | 'web-dev-1', 'web-dev-2', |
| 39 | 'game-dev-1', 'game-dev-2', |
| 40 | ] |
| 41 | this.prototype.levels = [] |
| 42 | } |
| 43 | |
| 44 | onOverviewButtonClicked (e) { |
| 45 | return this.$('.overview').toggleClass('in') |