diff options
| author | Jacob Thornton <[email protected]> | 2011-11-30 22:42:22 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2011-11-30 22:42:22 -0800 |
| commit | cee2f61898f4807311402fed747a93ee68a31f8f (patch) | |
| tree | c67d1273a3da814f0a3f8af8af4f4858986b037c /js/bootstrap-collapse.js | |
| parent | b1cba98aab5ee2d0576bbbbb92ba3488516290eb (diff) | |
| download | bootstrap-cee2f61898f4807311402fed747a93ee68a31f8f.tar.xz bootstrap-cee2f61898f4807311402fed747a93ee68a31f8f.zip | |
define constructor on prototypes
Diffstat (limited to 'js/bootstrap-collapse.js')
| -rw-r--r-- | js/bootstrap-collapse.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/bootstrap-collapse.js b/js/bootstrap-collapse.js index 93f91513e..f56f6c705 100644 --- a/js/bootstrap-collapse.js +++ b/js/bootstrap-collapse.js @@ -34,7 +34,9 @@ Collapse.prototype = { - dimension: function () { + constructor: Collapse + + , dimension: function () { var hasWidth = this.$element.hasClass('width') return hasWidth ? 'width' : 'height' } |
