Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
getRenderData
Method · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected