MCPcopy Create free account
hub / github.com/codecombat/codecombat / isFullyLoaded

Method isFullyLoaded

app/models/ThangType.js:113–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111 }
112
113 isFullyLoaded () {
114 // TODO: Come up with a better way to identify when the model doesn't have everything needed to build the sprite. ie when it's a projection without all the required data.
115 return this.get('actions') || this.get('raster') // needs one of these two things
116 }
117
118 loadRasterImage () {
119 let raster

Callers 5

getActionsMethod · 0.95
buildActionsMethod · 0.95
buildSpriteSheetMethod · 0.95
getPortraitStageMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected