(element, options)
| 87 | * ====================== */ |
| 88 | |
| 89 | var Modal = function (element, options) { |
| 90 | this.options = options |
| 91 | this.$element = $(element) |
| 92 | .delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this)) |
| 93 | this.options.remote && this.$element.find('.modal-body').load(this.options.remote) |
| 94 | } |
| 95 | |
| 96 | Modal.prototype = { |
| 97 |