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

Method getNormalizedURL

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

Source from the content-addressed store, hash-verified

121 getCreationDate () { return new Date(parseInt(this.id.slice(0, 8), 16) * 1000) }
122
123 getNormalizedURL () { return `${this.urlRoot}/${this.id}` }
124
125 getTranslatedName () {
126 return utils.i18n(this.attributes, 'displayName') || utils.i18n(this.attributes, 'name')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected