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

Method getStyle

app/models/Achievement.js:47–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 }
46
47 getStyle () { return Achievement.styleMapping[this.get('difficulty', true)] }
48
49 getImageURL () {
50 if (this.get('icon')) { return '/file/' + this.get('icon') } else { return Achievement.defaultImageURL }

Callers 1

getRenderDataMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected