Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ addUniqueEntry
Function
addUniqueEntry
app/core/store/modules/audio.js:50–53 ·
view source on GitHub ↗
(state, { unique, id })
Source
from the content-addressed store, hash-verified
48
},
49
50
addUniqueEntry (state, { unique, id }) {
51
state.unique.keys.add(unique)
52
state.unique.soundIdKeys.set(id, unique)
53
},
54
55
removeUniqueEntry (state, { unique, id }) {
56
state.unique.keys.delete(unique)
Callers
nothing calls this directly
Calls
1
set
Method · 0.45
Tested by
no test coverage detected