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

Method setURL

app/models/CocoModel.js:464–468  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

462 }
463
464 setURL (url) {
465 const makeURLFunc = u => () => u
466 this.url = makeURLFunc(url)
467 return this
468 }
469
470 getURL () {
471 if (_.isString(this.url)) { return this.url } else { return this.url() }

Callers 15

setProjectionMethod · 0.95
CocoModel.spec.jsFile · 0.80
loadComponentsMethod · 0.80
loadThangTypeNamesMethod · 0.80
formatRewardsMethod · 0.80
constructorMethod · 0.80
loadUserPollsRecordMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
preloadLevelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected