MCPcopy 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
68const onSetVolume = function (e) {
69 if (e.volume === me.get('volume')) { return }
70 me.set('volume', e.volume)
71 return me.save()
72}
73
74Backbone.Mediator.subscribe('level:set-volume', onSetVolume, module.exports)
75

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
setMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected