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

finish up rounding out tests for all js plugins

This commit is contained in:
Jacob Thornton
2011-09-10 13:17:08 -07:00
parent 48aa209348
commit 1041977d0a
3 changed files with 82 additions and 25 deletions

View File

@@ -59,10 +59,10 @@
$.fn.popover = function (options) {
if (typeof options == 'object') options = $.extend({}, $.fn.popover.defaults, options)
$.fn.twipsy.initWith.call(this, options, Popover)
$.fn.twipsy.initWith.call(this, options, Popover, 'popover')
return this
}
$.fn.popover.defaults = $.extend({}, $.fn.twipsy.defaults, { content: '', placement: 'right'})
$.fn.popover.defaults = $.extend({} , $.fn.twipsy.defaults, { content: 'content', placement: 'right'})
})( jQuery || ender )