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

Method loadUniversalWizard

app/models/ThangType.js:452–460  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

450 }
451
452 static loadUniversalWizard () {
453 if (this.wizardType) { return this.wizardType }
454 const wizOriginal = '52a00d55cf1818f2be00000b'
455 const url = `/db/thang.type/${wizOriginal}/version`
456 this.wizardType = new module.exports() // eslint-disable-line new-cap
457 this.wizardType.url = () => url
458 this.wizardType.fetch()
459 return this.wizardType
460 }
461
462 getPortraitURL () { return ThangTypeLib.getPortraitURL(this.attributes) }
463

Callers 1

constructorMethod · 0.80

Calls 1

fetchMethod · 0.45

Tested by

no test coverage detected