2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03: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
+3 -1
View File
@@ -31,7 +31,9 @@
Tab.prototype = {
show: function () {
constructor: Tab
, show: function () {
var $this = this.element
, $ul = $this.closest('ul:not(.dropdown-menu)')
, href = $this.attr('data-target') || $this.attr('href')