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

define constructor on prototypes

This commit is contained in:
Jacob Thornton
2011-11-30 22:42:22 -08:00
parent b1cba98aab
commit cee2f61898
10 changed files with 30 additions and 12 deletions

View File

@@ -34,7 +34,9 @@
Popover.prototype = $.extend({}, $.fn.twipsy.Twipsy.prototype, {
setContent: function () {
constructor: Popover
, setContent: function () {
var $tip = this.tip()
, title = this.getTitle()
, content = this.getContent()