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

start updating to data- driven js

This commit is contained in:
Jacob Thornton
2011-10-04 21:48:53 -07:00
parent 913338f930
commit a91a407bd6
6 changed files with 80 additions and 52 deletions

View File

@@ -18,7 +18,7 @@
* =========================================================== */
(function( $ ) {
!function( $ ) {
var Popover = function ( element, options ) {
this.$element = $(element)
@@ -40,7 +40,7 @@
}
, getContent: function () {
var contentvar
var content
, $e = this.$element
, o = this.options
@@ -74,4 +74,4 @@
$.fn.popover.defaults = $.extend({} , $.fn.twipsy.defaults, { content: 'data-content', placement: 'right'})
})( window.jQuery || window.ender )
}( window.jQuery || window.ender );