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

Method destroy

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

Source from the content-addressed store, hash-verified

1047 }
1048
1049 destroy () {
1050 this.$el.find('.unlock-button').popover('destroy')
1051 this.$el.find('.ui-droppable').droppable('destroy')
1052 this.$el.find('.ui-draggable').draggable('destroy').off('dragstart')
1053 this.$el.find('.item-slot').off('dragstart')
1054 if (this.stage != null) {
1055 this.stage.removeAllChildren()
1056 }
1057 return super.destroy()
1058 }
1059 }
1060 InventoryModal.initClass()
1061 return InventoryModal

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected