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

Method constructor

app/views/TestView.js:66–74  ·  view source on GitHub ↗
(options, subPath)

Source from the content-addressed store, hash-verified

64 // INITIALIZE
65
66 constructor (options, subPath) {
67 super(...arguments)
68 if (subPath == null) { subPath = '' }
69 this.subPath = subPath
70 if (this.subPath[0] === '/') { this.subPath = this.subPath.slice(1) }
71 this.demosOn = storage.load('demos-on')
72 this.failureReports = []
73 this.loadedFileIDs = []
74 }
75
76 afterInsert () {
77 super.afterInsert()

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected