var Modal = function (content, options) {
this.options = options
this.$element = $(content)
.delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this))
^^^^^^^^^^^^^^^^^^^^
What does this mean?
}
我很新鲜。我以前没有见过这种语法。我的猜测是点击事件,在任何包含“解雇”且值为“模态”的属性上?