Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/codecombat/codecombat
/ onSetVolume
Function
onSetVolume
app/core/auth.js:68–72 ·
view source on GitHub ↗
(e)
Source
from the content-addressed store, hash-verified
66
}
67
68
const
onSetVolume =
function
(e) {
69
if
(e.volume === me.get(
'volume'
)) {
return
}
70
me.set(
'volume'
, e.volume)
71
return
me.save()
72
}
73
74
Backbone.Mediator.subscribe(
'level:set-volume'
, onSetVolume, module.exports)
75
Callers
nothing calls this directly
Calls
3
get
Method · 0.45
set
Method · 0.45
save
Method · 0.45
Tested by
no test coverage detected