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

Method logBuild

app/models/ThangType.js:335–341  ·  view source on GitHub ↗
(startTime, async, portrait)

Source from the content-addressed store, hash-verified

333 }
334
335 logBuild (startTime, async, portrait) {
336 const kind = async ? 'Async' : 'Sync '
337 portrait = portrait ? '(Portrait)' : ''
338 const name = _.string.rpad(this.get('name'), 20)
339 const time = _.string.lpad(('' + new Date().getTime()) - startTime, 6)
340 return console.debug(`Built sheet: ${name} ${time}ms ${kind} ${portrait}`)
341 }
342
343 spriteSheetKey (options) {
344 let colorConfigs = []

Callers 2

finishBuildMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected