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

Function includeCodeToBlocks

app/core/blocklyUtils.js:572–572  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

570 colour: '290',
571 contents: [
572 { kind: 'block', type: 'controls_repeat_ext', inputs: { TIMES: { block: { type: 'math_number', fields: { NUM: 3 } } } }, include () { return propNames.has('for-loop') && level?.get('product') !== 'codecombat-junior' }, includeCodeToBlocks () { return level?.get('product') !== 'codecombat-junior' } },
573 { kind: 'block', type: 'controls_repeat_dropdown', fields: { TIMES: '3' }, include () { return propNames.has('for-loop') && level?.get('product') === 'codecombat-junior' }, includeCodeToBlocks () { return level?.get('product') === 'codecombat-junior' } },
574 {
575 kind: 'block',

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected