MCPcopy Index your code
hub / github.com/codecombat/codecombat / onEsc

Method onEsc

app/views/core/ModalView.js:109–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 }
108
109 onEsc () {
110 if (__guard__(__guard__(this.$el.data('bs.modal'), x1 => x1.options), x => x.keyboard)) {
111 return this.hide()
112 }
113 }
114
115 // TODO: Combine hide/onHidden such that backbone 'hide/hidden.bs.modal' events and our 'hide/hidden' events are more 1-to-1
116 // For example:

Callers

nothing calls this directly

Calls 3

hideMethod · 0.95
dataMethod · 0.80
__guard__Function · 0.70

Tested by

no test coverage detected