MCPcopy Index your code
hub / github.com/codecombat/codecombat / load

Method load

app/views/editor/PatchesView.js:42–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 }
41
42 load () {
43 this.initPatches()
44 this.patches = this.model.fetchPatchesWithStatus(this.status, { cache: false })
45 this.supermodel.trackCollection(this.patches)
46 return this.listenTo(this.patches, 'sync', this.onPatchesLoaded)
47 }
48
49 onPatchesLoaded () {
50 const ids = (Array.from(this.patches.models).map((p) => p.get('creator')))

Callers 15

reloadPatchesMethod · 0.95
isInLibraryNetworkFunction · 0.45
shouldHideEmailFunction · 0.45
libraryNameFunction · 0.45
isCreatedViaLibraryFunction · 0.45
readActivityStatusCacheFunction · 0.45
getStorageExamFunction · 0.45
hasTrackedPremiumAccessFunction · 0.45
constructorMethod · 0.45

Calls 2

initPatchesMethod · 0.95

Tested by

no test coverage detected