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

Method getPropertyKey

app/core/treema-ext.js:828–832  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

826
827class SlugPropsObject extends TreemaNode.nodeMap.object {
828 getPropertyKey () {
829 const res = super.getPropertyKey(...arguments)
830 if ((this.workingSchema.properties != null ? this.workingSchema.properties[res] : undefined) != null) { return res }
831 return _.string.slugify(res)
832 }
833}
834
835class TaskTreema extends TreemaNode.nodeMap.string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected