MCPcopy Create free account
hub / github.com/idank/explainshell / Modal

Function Modal

explainshell/web/static/js/bootstrap.js:827–832  ·  view source on GitHub ↗
(element, options)

Source from the content-addressed store, hash-verified

825 * ====================== */
826
827 var Modal = function (element, options) {
828 this.options = options
829 this.$element = $(element)
830 .delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this))
831 this.options.remote && this.$element.find('.modal-body').load(this.options.remote)
832 }
833
834 Modal.prototype = {
835

Callers

nothing calls this directly

Calls 1

$Function · 0.70

Tested by

no test coverage detected