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

Method created

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

Source from the content-addressed store, hash-verified

60 }
61
62 created () { return new Date(parseInt(this.id.substring(0, 8), 16) * 1000) }
63
64 backupKey () {
65 if (this.usesVersions) { return this.id } else { return this.id } // + ':' + @attributes.__v # TODO: doesn't work because __v doesn't actually increment. #2061

Callers 1

checkForNewAchievementFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected