MCPcopy Create free account
hub / github.com/codecombat/codecombat / onViewSync

Method onViewSync

app/views/editor/modal/VersionsModal.js:62–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 }
61
62 onViewSync () {
63 this.versions = new VersionsViewCollection(this.url, this.original.attributes.original, this.model)
64 this.versions = this.supermodel.loadCollection(this.versions, 'versions').model
65 return this.listenTo(this.versions, 'sync', this.onVersionsFetched)
66 }
67
68 onVersionsFetched () {
69 const ids = (Array.from(this.versions.models).map((p) => p.get('creator')))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected