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

Method accept

app/views/play/menu/InventoryModal.js:329–329  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

327 $(itemSlot).droppable({
328 drop: (e, ui) => this.equipSelectedItem(),
329 accept (el) { return $(el).parent().hasClass(slot) },
330 activeClass: 'droppable',
331 hoverClass: 'droppable-hover',
332 tolerance: 'touch'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected