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

Method initClass

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

Source from the content-addressed store, hash-verified

610module.exports.LatestVersionReferenceNode = (LatestVersionReferenceNode = (function () {
611 LatestVersionReferenceNode = class LatestVersionReferenceNode extends TreemaNode {
612 static initClass () {
613 this.prototype.searchValueTemplate = '<input placeholder="Search" /><div class="treema-search-results"></div>'
614 this.prototype.valueClass = 'treema-latest-version'
615 this.prototype.url = '/db/article'
616 this.prototype.lastTerm = null
617 }
618
619 constructor () {
620 super(...arguments)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected