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

Method afterInsert

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

Source from the content-addressed store, hash-verified

282 }
283
284 afterInsert () {
285 if (debugInventory) { console.log('Inside afterInsert') }
286 super.afterInsert()
287 this.canvasWidth = this.$el.find('canvas').innerWidth()
288 this.canvasHeight = this.$el.find('canvas').innerHeight()
289 this.inserted = true
290 if (debugInventory) { console.log('requireLevelEquipment called from afterInsert') }
291 return this.requireLevelEquipment()
292 }
293
294 // - Draggable logic
295

Callers

nothing calls this directly

Calls 2

requireLevelEquipmentMethod · 0.95
logMethod · 0.80

Tested by

no test coverage detected