1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-26 05:19:15 +02:00

giant refactor - all spec passing again...

This commit is contained in:
Jacob Thornton
2011-12-20 18:02:47 -08:00
parent 7df0d1c7d1
commit 1ef5fa7d6b
27 changed files with 9618 additions and 390 deletions

View File

@@ -27,7 +27,7 @@
var dismiss = '[data-dismiss="alert"]'
, Alert = function ( el ) {
$(el).delegate(dismiss, 'click', this.close)
$(el).on('click', dismiss, this.close)
}
Alert.prototype = {
@@ -72,7 +72,7 @@
* ============== */
$(function () {
$('body').delegate(dismiss, 'click.alert.data-api', Alert.prototype.close)
$('body').on('click.alert.data-api', dismiss, Alert.prototype.close)
})
}( window.jQuery || window.ender )
}( window.jQuery )