1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 12:59:05 +02:00

more tests, more js goodness

This commit is contained in:
Jacob Thornton
2011-09-10 12:49:21 -07:00
parent 79d5f90713
commit 48aa209348
9 changed files with 206 additions and 34 deletions

View File

@@ -188,6 +188,7 @@
$.fn.twipsy = function (options) {
$.fn.twipsy.initWith.call(this, options, Twipsy)
return this
}
$.fn.twipsy.initWith = function (options, Constructor) {
@@ -263,6 +264,9 @@
this[binder](eventIn, enter)[binder](eventOut, leave)
}
this.bind('twipsy:show', enter)
this.bind('twipsy:hide', leave)
return this
}