Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ addOtherCourses
Function
addOtherCourses
app/core/store/modules/courses.js:39–42 ·
view source on GitHub ↗
(state, courses)
Source
from the content-addressed store, hash-verified
37
state.loaded = true
38
},
39
addOtherCourses (state, courses) {
40
courses.forEach(c => Vue.set(state.otherById, c._id, c))
41
state.loadedOther = true
42
}
43
},
44
45
actions: {
Callers
nothing calls this directly
Calls
1
set
Method · 0.45
Tested by
no test coverage detected