()
| 85 | return this.compareStrings(this.problems) |
| 86 | }), |
| 87 | selectedLevelSlugs () { |
| 88 | this.loading = true |
| 89 | const promises = [] |
| 90 | for (const slug of Array.from(this.selectedLevelSlugs)) { |
| 91 | if (!this.problemsByLevel[slug]) { |
| 92 | promises.push(this.getProblems(slug)) |
| 93 | } |
| 94 | } |
| 95 | return Promise.all(promises).then(newProblems => { |
| 96 | this.loading = false |
| 97 | return _.defer(() => { |
| 98 | return this.compareStrings(_.flatten(newProblems)) |
| 99 | }) |
| 100 | }) |
| 101 | }, |
| 102 | messageOrHint () { |
| 103 | return this.compareStrings(this.problems) |
| 104 | } |
nothing calls this directly
no outgoing calls
no test coverage detected