({ data })
| 22 | |
| 23 | export default class Loader { |
| 24 | constructor ({ data }) { |
| 25 | this.data = data |
| 26 | // Stores thangType with slug or original as the key. |
| 27 | this.loadedThangTypes = new Map() |
| 28 | // Stores the thangType loading promise with slug or original as key. |
| 29 | this.loadingThangTypes = new Map() |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * Fetches initial Cinematic data and loads the ThangTypes. |
nothing calls this directly
no outgoing calls
no test coverage detected