Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

2.3.1 updates #56

Merged
merged 4 commits into from about 1 year ago

2 participants

David Ward
David Ward

Incorporates changes for v2.3.1 from upstream bootstrap code.

David Ward

The commit should have been "update built css files and SYMLINKS" not documentation.

Collaborator
m5o commented March 07, 2013

tonight i'll check this request

Thank you for the changes!

m5o merged commit bd54c38 into from March 07, 2013
m5o closed this March 07, 2013
m5o referenced this pull request in twbs/bootstrap-sass March 07, 2013
Closed

Apply 2.3.1 update #307

m5o referenced this pull request in twbs/bootstrap-sass March 07, 2013
Closed

2.3.1 Update #306

David Ward roverwolf deleted the branch March 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.

Showing 46 changed files with 311 additions and 259 deletions. Show diff stats Hide diff stats

  1. 10  CHANGELOG.md
  2. 352  LICENSE
  3. 6  Makefile
  4. 27  README.md
  5. 2  Rakefile
  6. 2  bootstrap-2.3.0.css → bootstrap-2.3.1.css
  7. 2  bootstrap-2.3.0.min.css → bootstrap-2.3.1.min.css
  8. 2  bootstrap-responsive-2.3.0.css → bootstrap-responsive-2.3.1.css
  9. 2  bootstrap-responsive-2.3.0.min.css → bootstrap-responsive-2.3.1.min.css
  10. 2  component.json
  11. 2  docs/assets/css/bootstrap-responsive.css
  12. 2  docs/assets/css/bootstrap.css
  13. 2  docs/assets/js/bootstrap-affix.js
  14. 2  docs/assets/js/bootstrap-alert.js
  15. 2  docs/assets/js/bootstrap-button.js
  16. 4  docs/assets/js/bootstrap-carousel.js
  17. 2  docs/assets/js/bootstrap-collapse.js
  18. 4  docs/assets/js/bootstrap-dropdown.js
  19. 4  docs/assets/js/bootstrap-modal.js
  20. 2  docs/assets/js/bootstrap-popover.js
  21. 2  docs/assets/js/bootstrap-scrollspy.js
  22. 2  docs/assets/js/bootstrap-tab.js
  23. 12  docs/assets/js/bootstrap-tooltip.js
  24. 2  docs/assets/js/bootstrap-transition.js
  25. 2  docs/assets/js/bootstrap-typeahead.js
  26. 42  docs/assets/js/bootstrap.js
  27. 4  docs/assets/js/bootstrap.min.js
  28. 2  docs/index.html
  29. 4  docs/templates/pages/index.mustache
  30. 2  js/bootstrap-affix.js
  31. 2  js/bootstrap-alert.js
  32. 2  js/bootstrap-button.js
  33. 4  js/bootstrap-carousel.js
  34. 2  js/bootstrap-collapse.js
  35. 4  js/bootstrap-dropdown.js
  36. 4  js/bootstrap-modal.js
  37. 2  js/bootstrap-popover.js
  38. 2  js/bootstrap-scrollspy.js
  39. 2  js/bootstrap-tab.js
  40. 12  js/bootstrap-tooltip.js
  41. 2  js/bootstrap-transition.js
  42. 2  js/bootstrap-typeahead.js
  43. 17  js/tests/unit/bootstrap-modal.js
  44. 2  lib/bootstrap.scss
  45. 2  lib/responsive.scss
  46. 2  package.json
10  CHANGELOG.md
Source Rendered
... ...
@@ -1,3 +1,13 @@
  1
+## 2.3.1 (February 28, 2013)
  2
+
  3
+Patch release for @fat's n00bery
  4
+
  5
+- fix missing event type in dropdown
  6
+- fix delegated data-attrs for popover/tooltip
  7
+- make carousel actually pause when you click cycle
  8
+- fix jshint ref in makefile
  9
+- fix trying to remove backdrop when no backdrop
  10
+
1 11
 ## 2.3.0 (February 7, 2013)
2 12
 
3 13
 Minor release to add carousel indicators, improve tooltips, improve dev setup, and fix hella bugs.
352  LICENSE
... ...
@@ -1,176 +1,176 @@
1  
-                              Apache License
2  
-                        Version 2.0, January 2004
3  
-                     http://www.apache.org/licenses/
4  
-
5  
-TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6  
-
7  
-1. Definitions.
8  
-
9  
-   "License" shall mean the terms and conditions for use, reproduction,
10  
-   and distribution as defined by Sections 1 through 9 of this document.
11  
-
12  
-   "Licensor" shall mean the copyright owner or entity authorized by
13  
-   the copyright owner that is granting the License.
14  
-
15  
-   "Legal Entity" shall mean the union of the acting entity and all
16  
-   other entities that control, are controlled by, or are under common
17  
-   control with that entity. For the purposes of this definition,
18  
-   "control" means (i) the power, direct or indirect, to cause the
19  
-   direction or management of such entity, whether by contract or
20  
-   otherwise, or (ii) ownership of fifty percent (50%) or more of the
21  
-   outstanding shares, or (iii) beneficial ownership of such entity.
22  
-
23  
-   "You" (or "Your") shall mean an individual or Legal Entity
24  
-   exercising permissions granted by this License.
25  
-
26  
-   "Source" form shall mean the preferred form for making modifications,
27  
-   including but not limited to software source code, documentation
28  
-   source, and configuration files.
29  
-
30  
-   "Object" form shall mean any form resulting from mechanical
31  
-   transformation or translation of a Source form, including but
32  
-   not limited to compiled object code, generated documentation,
33  
-   and conversions to other media types.
34  
-
35  
-   "Work" shall mean the work of authorship, whether in Source or
36  
-   Object form, made available under the License, as indicated by a
37  
-   copyright notice that is included in or attached to the work
38  
-   (an example is provided in the Appendix below).
39  
-
40  
-   "Derivative Works" shall mean any work, whether in Source or Object
41  
-   form, that is based on (or derived from) the Work and for which the
42  
-   editorial revisions, annotations, elaborations, or other modifications
43  
-   represent, as a whole, an original work of authorship. For the purposes
44  
-   of this License, Derivative Works shall not include works that remain
45  
-   separable from, or merely link (or bind by name) to the interfaces of,
46  
-   the Work and Derivative Works thereof.
47  
-
48  
-   "Contribution" shall mean any work of authorship, including
49  
-   the original version of the Work and any modifications or additions
50  
-   to that Work or Derivative Works thereof, that is intentionally
51  
-   submitted to Licensor for inclusion in the Work by the copyright owner
52  
-   or by an individual or Legal Entity authorized to submit on behalf of
53  
-   the copyright owner. For the purposes of this definition, "submitted"
54  
-   means any form of electronic, verbal, or written communication sent
55  
-   to the Licensor or its representatives, including but not limited to
56  
-   communication on electronic mailing lists, source code control systems,
57  
-   and issue tracking systems that are managed by, or on behalf of, the
58  
-   Licensor for the purpose of discussing and improving the Work, but
59  
-   excluding communication that is conspicuously marked or otherwise
60  
-   designated in writing by the copyright owner as "Not a Contribution."
61  
-
62  
-   "Contributor" shall mean Licensor and any individual or Legal Entity
63  
-   on behalf of whom a Contribution has been received by Licensor and
64  
-   subsequently incorporated within the Work.
65  
-
66  
-2. Grant of Copyright License. Subject to the terms and conditions of
67  
-   this License, each Contributor hereby grants to You a perpetual,
68  
-   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69  
-   copyright license to reproduce, prepare Derivative Works of,
70  
-   publicly display, publicly perform, sublicense, and distribute the
71  
-   Work and such Derivative Works in Source or Object form.
72  
-
73  
-3. Grant of Patent License. Subject to the terms and conditions of
74  
-   this License, each Contributor hereby grants to You a perpetual,
75  
-   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76  
-   (except as stated in this section) patent license to make, have made,
77  
-   use, offer to sell, sell, import, and otherwise transfer the Work,
78  
-   where such license applies only to those patent claims licensable
79  
-   by such Contributor that are necessarily infringed by their
80  
-   Contribution(s) alone or by combination of their Contribution(s)
81  
-   with the Work to which such Contribution(s) was submitted. If You
82  
-   institute patent litigation against any entity (including a
83  
-   cross-claim or counterclaim in a lawsuit) alleging that the Work
84  
-   or a Contribution incorporated within the Work constitutes direct
85  
-   or contributory patent infringement, then any patent licenses
86  
-   granted to You under this License for that Work shall terminate
87  
-   as of the date such litigation is filed.
88  
-
89  
-4. Redistribution. You may reproduce and distribute copies of the
90  
-   Work or Derivative Works thereof in any medium, with or without
91  
-   modifications, and in Source or Object form, provided that You
92  
-   meet the following conditions:
93  
-
94  
-   (a) You must give any other recipients of the Work or
95  
-       Derivative Works a copy of this License; and
96  
-
97  
-   (b) You must cause any modified files to carry prominent notices
98  
-       stating that You changed the files; and
99  
-
100  
-   (c) You must retain, in the Source form of any Derivative Works
101  
-       that You distribute, all copyright, patent, trademark, and
102  
-       attribution notices from the Source form of the Work,
103  
-       excluding those notices that do not pertain to any part of
104  
-       the Derivative Works; and
105  
-
106  
-   (d) If the Work includes a "NOTICE" text file as part of its
107  
-       distribution, then any Derivative Works that You distribute must
108  
-       include a readable copy of the attribution notices contained
109  
-       within such NOTICE file, excluding those notices that do not
110  
-       pertain to any part of the Derivative Works, in at least one
111  
-       of the following places: within a NOTICE text file distributed
112  
-       as part of the Derivative Works; within the Source form or
113  
-       documentation, if provided along with the Derivative Works; or,
114  
-       within a display generated by the Derivative Works, if and
115  
-       wherever such third-party notices normally appear. The contents
116  
-       of the NOTICE file are for informational purposes only and
117  
-       do not modify the License. You may add Your own attribution
118  
-       notices within Derivative Works that You distribute, alongside
119  
-       or as an addendum to the NOTICE text from the Work, provided
120  
-       that such additional attribution notices cannot be construed
121  
-       as modifying the License.
122  
-
123  
-   You may add Your own copyright statement to Your modifications and
124  
-   may provide additional or different license terms and conditions
125  
-   for use, reproduction, or distribution of Your modifications, or
126  
-   for any such Derivative Works as a whole, provided Your use,
127  
-   reproduction, and distribution of the Work otherwise complies with
128  
-   the conditions stated in this License.
129  
-
130  
-5. Submission of Contributions. Unless You explicitly state otherwise,
131  
-   any Contribution intentionally submitted for inclusion in the Work
132  
-   by You to the Licensor shall be under the terms and conditions of
133  
-   this License, without any additional terms or conditions.
134  
-   Notwithstanding the above, nothing herein shall supersede or modify
135  
-   the terms of any separate license agreement you may have executed
136  
-   with Licensor regarding such Contributions.
137  
-
138  
-6. Trademarks. This License does not grant permission to use the trade
139  
-   names, trademarks, service marks, or product names of the Licensor,
140  
-   except as required for reasonable and customary use in describing the
141  
-   origin of the Work and reproducing the content of the NOTICE file.
142  
-
143  
-7. Disclaimer of Warranty. Unless required by applicable law or
144  
-   agreed to in writing, Licensor provides the Work (and each
145  
-   Contributor provides its Contributions) on an "AS IS" BASIS,
146  
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147  
-   implied, including, without limitation, any warranties or conditions
148  
-   of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149  
-   PARTICULAR PURPOSE. You are solely responsible for determining the
150  
-   appropriateness of using or redistributing the Work and assume any
151  
-   risks associated with Your exercise of permissions under this License.
152  
-
153  
-8. Limitation of Liability. In no event and under no legal theory,
154  
-   whether in tort (including negligence), contract, or otherwise,
155  
-   unless required by applicable law (such as deliberate and grossly
156  
-   negligent acts) or agreed to in writing, shall any Contributor be
157  
-   liable to You for damages, including any direct, indirect, special,
158  
-   incidental, or consequential damages of any character arising as a
159  
-   result of this License or out of the use or inability to use the
160  
-   Work (including but not limited to damages for loss of goodwill,
161  
-   work stoppage, computer failure or malfunction, or any and all
162  
-   other commercial damages or losses), even if such Contributor
163  
-   has been advised of the possibility of such damages.
164  
-
165  
-9. Accepting Warranty or Additional Liability. While redistributing
166  
-   the Work or Derivative Works thereof, You may choose to offer,
167  
-   and charge a fee for, acceptance of support, warranty, indemnity,
168  
-   or other liability obligations and/or rights consistent with this
169  
-   License. However, in accepting such obligations, You may act only
170  
-   on Your own behalf and on Your sole responsibility, not on behalf
171  
-   of any other Contributor, and only if You agree to indemnify,
172  
-   defend, and hold each Contributor harmless for any liability
173  
-   incurred by, or claims asserted against, such Contributor by reason
174  
-   of your accepting any such warranty or additional liability.
175  
-
176  
-END OF TERMS AND CONDITIONS
  1
+                                 Apache License
  2
+                           Version 2.0, January 2004
  3
+                        http://www.apache.org/licenses/
  4
+
  5
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  6
+
  7
+   1. Definitions.
  8
+
  9
+      "License" shall mean the terms and conditions for use, reproduction,
  10
+      and distribution as defined by Sections 1 through 9 of this document.
  11
+
  12
+      "Licensor" shall mean the copyright owner or entity authorized by
  13
+      the copyright owner that is granting the License.
  14
+
  15
+      "Legal Entity" shall mean the union of the acting entity and all
  16
+      other entities that control, are controlled by, or are under common
  17
+      control with that entity. For the purposes of this definition,
  18
+      "control" means (i) the power, direct or indirect, to cause the
  19
+      direction or management of such entity, whether by contract or
  20
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
  21
+      outstanding shares, or (iii) beneficial ownership of such entity.
  22
+
  23
+      "You" (or "Your") shall mean an individual or Legal Entity
  24
+      exercising permissions granted by this License.
  25
+
  26
+      "Source" form shall mean the preferred form for making modifications,
  27
+      including but not limited to software source code, documentation
  28
+      source, and configuration files.
  29
+
  30
+      "Object" form shall mean any form resulting from mechanical
  31
+      transformation or translation of a Source form, including but
  32
+      not limited to compiled object code, generated documentation,
  33
+      and conversions to other media types.
  34
+
  35
+      "Work" shall mean the work of authorship, whether in Source or
  36
+      Object form, made available under the License, as indicated by a
  37
+      copyright notice that is included in or attached to the work
  38
+      (an example is provided in the Appendix below).
  39
+
  40
+      "Derivative Works" shall mean any work, whether in Source or Object
  41
+      form, that is based on (or derived from) the Work and for which the
  42
+      editorial revisions, annotations, elaborations, or other modifications
  43
+      represent, as a whole, an original work of authorship. For the purposes
  44
+      of this License, Derivative Works shall not include works that remain
  45
+      separable from, or merely link (or bind by name) to the interfaces of,
  46
+      the Work and Derivative Works thereof.
  47
+
  48
+      "Contribution" shall mean any work of authorship, including
  49
+      the original version of the Work and any modifications or additions
  50
+      to that Work or Derivative Works thereof, that is intentionally
  51
+      submitted to Licensor for inclusion in the Work by the copyright owner
  52
+      or by an individual or Legal Entity authorized to submit on behalf of
  53
+      the copyright owner. For the purposes of this definition, "submitted"
  54
+      means any form of electronic, verbal, or written communication sent
  55
+      to the Licensor or its representatives, including but not limited to
  56
+      communication on electronic mailing lists, source code control systems,
  57
+      and issue tracking systems that are managed by, or on behalf of, the
  58
+      Licensor for the purpose of discussing and improving the Work, but
  59
+      excluding communication that is conspicuously marked or otherwise
  60
+      designated in writing by the copyright owner as "Not a Contribution."
  61
+
  62
+      "Contributor" shall mean Licensor and any individual or Legal Entity
  63
+      on behalf of whom a Contribution has been received by Licensor and
  64
+      subsequently incorporated within the Work.
  65
+
  66
+   2. Grant of Copyright License. Subject to the terms and conditions of
  67
+      this License, each Contributor hereby grants to You a perpetual,
  68
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  69
+      copyright license to reproduce, prepare Derivative Works of,
  70
+      publicly display, publicly perform, sublicense, and distribute the
  71
+      Work and such Derivative Works in Source or Object form.
  72
+
  73
+   3. Grant of Patent License. Subject to the terms and conditions of
  74
+      this License, each Contributor hereby grants to You a perpetual,
  75
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  76
+      (except as stated in this section) patent license to make, have made,
  77
+      use, offer to sell, sell, import, and otherwise transfer the Work,
  78
+      where such license applies only to those patent claims licensable
  79
+      by such Contributor that are necessarily infringed by their
  80
+      Contribution(s) alone or by combination of their Contribution(s)
  81
+      with the Work to which such Contribution(s) was submitted. If You
  82
+      institute patent litigation against any entity (including a
  83
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
  84
+      or a Contribution incorporated within the Work constitutes direct
  85
+      or contributory patent infringement, then any patent licenses
  86
+      granted to You under this License for that Work shall terminate
  87
+      as of the date such litigation is filed.
  88
+
  89
+   4. Redistribution. You may reproduce and distribute copies of the
  90
+      Work or Derivative Works thereof in any medium, with or without
  91
+      modifications, and in Source or Object form, provided that You
  92
+      meet the following conditions:
  93
+
  94
+      (a) You must give any other recipients of the Work or
  95
+          Derivative Works a copy of this License; and
  96
+
  97
+      (b) You must cause any modified files to carry prominent notices
  98
+          stating that You changed the files; and
  99
+
  100
+      (c) You must retain, in the Source form of any Derivative Works
  101
+          that You distribute, all copyright, patent, trademark, and
  102
+          attribution notices from the Source form of the Work,
  103
+          excluding those notices that do not pertain to any part of
  104
+          the Derivative Works; and
  105
+
  106
+      (d) If the Work includes a "NOTICE" text file as part of its
  107
+          distribution, then any Derivative Works that You distribute must
  108
+          include a readable copy of the attribution notices contained
  109
+          within such NOTICE file, excluding those notices that do not
  110
+          pertain to any part of the Derivative Works, in at least one
  111
+          of the following places: within a NOTICE text file distributed
  112
+          as part of the Derivative Works; within the Source form or
  113
+          documentation, if provided along with the Derivative Works; or,
  114
+          within a display generated by the Derivative Works, if and
  115
+          wherever such third-party notices normally appear. The contents
  116
+          of the NOTICE file are for informational purposes only and
  117
+          do not modify the License. You may add Your own attribution
  118
+          notices within Derivative Works that You distribute, alongside
  119
+          or as an addendum to the NOTICE text from the Work, provided
  120
+          that such additional attribution notices cannot be construed
  121
+          as modifying the License.
  122
+
  123
+      You may add Your own copyright statement to Your modifications and
  124
+      may provide additional or different license terms and conditions
  125
+      for use, reproduction, or distribution of Your modifications, or
  126
+      for any such Derivative Works as a whole, provided Your use,
  127
+      reproduction, and distribution of the Work otherwise complies with
  128
+      the conditions stated in this License.
  129
+
  130
+   5. Submission of Contributions. Unless You explicitly state otherwise,
  131
+      any Contribution intentionally submitted for inclusion in the Work
  132
+      by You to the Licensor shall be under the terms and conditions of
  133
+      this License, without any additional terms or conditions.
  134
+      Notwithstanding the above, nothing herein shall supersede or modify
  135
+      the terms of any separate license agreement you may have executed
  136
+      with Licensor regarding such Contributions.
  137
+
  138
+   6. Trademarks. This License does not grant permission to use the trade
  139
+      names, trademarks, service marks, or product names of the Licensor,
  140
+      except as required for reasonable and customary use in describing the
  141
+      origin of the Work and reproducing the content of the NOTICE file.
  142
+
  143
+   7. Disclaimer of Warranty. Unless required by applicable law or
  144
+      agreed to in writing, Licensor provides the Work (and each
  145
+      Contributor provides its Contributions) on an "AS IS" BASIS,
  146
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  147
+      implied, including, without limitation, any warranties or conditions
  148
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  149
+      PARTICULAR PURPOSE. You are solely responsible for determining the
  150
+      appropriateness of using or redistributing the Work and assume any
  151
+      risks associated with Your exercise of permissions under this License.
  152
+
  153
+   8. Limitation of Liability. In no event and under no legal theory,
  154
+      whether in tort (including negligence), contract, or otherwise,
  155
+      unless required by applicable law (such as deliberate and grossly
  156
+      negligent acts) or agreed to in writing, shall any Contributor be
  157
+      liable to You for damages, including any direct, indirect, special,
  158
+      incidental, or consequential damages of any character arising as a
  159
+      result of this License or out of the use or inability to use the
  160
+      Work (including but not limited to damages for loss of goodwill,
  161
+      work stoppage, computer failure or malfunction, or any and all
  162
+      other commercial damages or losses), even if such Contributor
  163
+      has been advised of the possibility of such damages.
  164
+
  165
+   9. Accepting Warranty or Additional Liability. While redistributing
  166
+      the Work or Derivative Works thereof, You may choose to offer,
  167
+      and charge a fee for, acceptance of support, warranty, indemnity,
  168
+      or other liability obligations and/or rights consistent with this
  169
+      License. However, in accepting such obligations, You may act only
  170
+      on Your own behalf and on Your sole responsibility, not on behalf
  171
+      of any other Contributor, and only if You agree to indemnify,
  172
+      defend, and hold each Contributor harmless for any liability
  173
+      incurred by, or claims asserted against, such Contributor by reason
  174
+      of your accepting any such warranty or additional liability.
  175
+
  176
+   END OF TERMS AND CONDITIONS
6  Makefile
@@ -15,8 +15,8 @@ build:
15 15
 	@echo "\n${HR}"
16 16
 	@echo "Building Bootstrap..."
17 17
 	@echo "${HR}\n"
18  
-	@jshint js/*.js --config js/.jshintrc
19  
-	@jshint js/tests/unit/*.js --config js/.jshintrc
  18
+	@./node_modules/.bin/jshint js/*.js --config js/.jshintrc
  19
+	@./node_modules/.bin/jshint js/tests/unit/*.js --config js/.jshintrc
20 20
 	@echo "Running JSHint on javascript...             ${CHECK} Done"
21 21
 	@./node_modules/.bin/recess --compile ${BOOTSTRAP_LESS} > ${BOOTSTRAP}
22 22
 	@./node_modules/.bin/recess --compile ${BOOTSTRAP_RESPONSIVE_LESS} > ${BOOTSTRAP_RESPONSIVE}
@@ -28,7 +28,7 @@ build:
28 28
 	@echo "Compiling documentation...                  ${CHECK} Done"
29 29
 	@cat js/bootstrap-transition.js js/bootstrap-alert.js js/bootstrap-button.js js/bootstrap-carousel.js js/bootstrap-collapse.js js/bootstrap-dropdown.js js/bootstrap-modal.js js/bootstrap-tooltip.js js/bootstrap-popover.js js/bootstrap-scrollspy.js js/bootstrap-tab.js js/bootstrap-typeahead.js js/bootstrap-affix.js > docs/assets/js/bootstrap.js
30 30
 	@./node_modules/.bin/uglifyjs -nc docs/assets/js/bootstrap.js > docs/assets/js/bootstrap.min.tmp.js
31  
-	@echo "/**\n* Bootstrap.js v2.3.0 by @fat & @mdo\n* Copyright 2012 Twitter, Inc.\n* http://www.apache.org/licenses/LICENSE-2.0.txt\n*/" > docs/assets/js/copyright.js
  31
+	@echo "/**\n* Bootstrap.js v2.3.1 by @fat & @mdo\n* Copyright 2012 Twitter, Inc.\n* http://www.apache.org/licenses/LICENSE-2.0.txt\n*/" > docs/assets/js/copyright.js
32 32
 	@cat docs/assets/js/copyright.js docs/assets/js/bootstrap.min.tmp.js > docs/assets/js/bootstrap.min.js
33 33
 	@rm docs/assets/js/copyright.js docs/assets/js/bootstrap.min.tmp.js
34 34
 	@echo "Compiling and minifying javascript...       ${CHECK} Done"
27  README.md
Source Rendered
@@ -2,7 +2,7 @@
2 2
   <img src="http://twitter.github.com/bootstrap/assets/img/bootstrap-docs-readme.png" width="100px">
3 3
 </a>
4 4
 
5  
-# [Bootstrap v2.3.0](http://twitter.github.com/bootstrap) [![Build Status](https://secure.travis-ci.org/twitter/bootstrap.png)](http://travis-ci.org/twitter/bootstrap)
  5
+# [Bootstrap v2.3.1](http://twitter.github.com/bootstrap) [![Build Status](https://secure.travis-ci.org/twitter/bootstrap.png)](http://travis-ci.org/twitter/bootstrap)
6 6
 
7 7
 Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created and maintained by [Mark Otto](http://twitter.com/mdo) and [Jacob Thornton](http://twitter.com/fat).
8 8
 
@@ -26,7 +26,7 @@ You can use the SASS Twitter Bootstrap by dropping the compiled CSS into any new
26 26
 
27 27
 Because SASS always outputs standard css, just link to the final output like normal:
28 28
 
29  
-`<link rel="stylesheet" type="text/css" href="bootstrap-2.3.0.css">`
  29
+`<link rel="stylesheet" type="text/css" href="bootstrap-2.3.1.css">`
30 30
 
31 31
 For more info, refer to the docs!
32 32
 
@@ -38,7 +38,7 @@ You can learn more about SASS at:
38 38
 
39 39
 [sass-lang.com](http://sass-lang.com)
40 40
 
41  
-SASS runs as a local GEM on your system. You can run `sass --watch lib/bootstrap.scss:bootstrap-2.3.0.css`
  41
+SASS runs as a local GEM on your system. You can run `sass --watch lib/bootstrap.scss:bootstrap-2.3.1.css`
42 42
 
43 43
 
44 44
 
@@ -90,26 +90,27 @@ This is a convenience method for watching your Sass files and automatically buil
90 90
 
91 91
 
92 92
 
93  
-## Developers
  93
+## Compiling CSS and JavaScript
94 94
 
95  
-We have included a makefile with convenience methods for working with the Bootstrap library.
96  
-
97  
-+ **dependencies**
98  
-Our makefile depends on you having recess, connect, uglify.js, and jshint installed. To install, just run the following command in npm:
  95
+Bootstrap includes a [makefile](Makefile) with convenient methods for working with the framework. Before getting started, be sure to install [the necessary local dependencies](package.json):
99 96
 
100 97
 ```
101  
-$ npm install recess connect uglify-js jshint -g
  98
+$ npm install
102 99
 ```
103 100
 
104  
-+ **build** - `make`
105  
-Runs the recess compiler to rebuild the `/less` files and compiles the docs pages. Requires recess and uglify-js. <a href="http://twitter.github.com/bootstrap/extend.html#compiling">Read more in our docs &raquo;</a>
  101
+When completed, you'll be able to run the various make commands provided:
  102
+
  103
+#### build - `make`
  104
+Runs the recess compiler to rebuild the `/less` files and compiles the docs. Requires recess and uglify-js.
106 105
 
107  
-+ **test** - `make test`
  106
+#### test - `make test`
108 107
 Runs jshint and qunit tests headlessly in [phantomjs](http://code.google.com/p/phantomjs/) (used for ci). Depends on having phantomjs installed.
109 108
 
110  
-+ **watch** - `make watch`
  109
+#### watch - `make watch`
111 110
 This is a convenience method for watching just Less files and automatically building them whenever you save. Requires the Watchr gem.
112 111
 
  112
+Should you encounter problems with installing dependencies or running the makefile commands, be sure to first uninstall any previous versions (global and local) you may have installed, and then rerun `npm install`.
  113
+
113 114
 
114 115
 
115 116
 ## Contributing
2  Rakefile
@@ -9,7 +9,7 @@ rescue Bundler::BundlerError => e
9 9
 end
10 10
 require 'rake'
11 11
 
12  
-VERSION = "2.3.0"
  12
+VERSION = "2.3.1"
13 13
 BOOTSTRAP_CSS = "bootstrap-#{VERSION}.css"
14 14
 BOOTSTRAP_MIN_CSS = "bootstrap-#{VERSION}.min.css"
15 15
 BOOTSTRAP_RESPONSIVE_CSS = "bootstrap-responsive-#{VERSION}.css"
2  bootstrap-2.3.0.css → bootstrap-2.3.1.css
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2  
- * Bootstrap v2.3.0
  2
+ * Bootstrap v2.3.1
3 3
  *
4 4
  * Copyright 2012 Twitter, Inc
5 5
  * Licensed under the Apache License v2.0
2  bootstrap-2.3.0.min.css → bootstrap-2.3.1.min.css
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2  
- * Bootstrap v2.3.0
  2
+ * Bootstrap v2.3.1
3 3
  *
4 4
  * Copyright 2012 Twitter, Inc
5 5
  * Licensed under the Apache License v2.0
2  bootstrap-responsive-2.3.0.css → bootstrap-responsive-2.3.1.css
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2  
- * Bootstrap Responsive v2.3.0
  2
+ * Bootstrap Responsive v2.3.1
3 3
  *
4 4
  * Copyright 2012 Twitter, Inc
5 5
  * Licensed under the Apache License v2.0
2  bootstrap-responsive-2.3.0.min.css → bootstrap-responsive-2.3.1.min.css
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2  
- * Bootstrap Responsive v2.3.0
  2
+ * Bootstrap Responsive v2.3.1
3 3
  *
4 4
  * Copyright 2012 Twitter, Inc
5 5
  * Licensed under the Apache License v2.0
2  component.json
... ...
@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "sass-bootstrap",
3  
-  "version": "2.3.0",
  3
+  "version": "2.3.1",
4 4
   "main": "lib/bootstrap.scss",
5 5
   "dependencies": {
6 6
     "jquery": "~1.8.0"
2  docs/assets/css/bootstrap-responsive.css
2  docs/assets/css/bootstrap.css
2  docs/assets/js/bootstrap-affix.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ==========================================================
2  
- * bootstrap-affix.js v2.3.0
  2
+ * bootstrap-affix.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#affix
4 4
  * ==========================================================
5 5
  * Copyright 2012 Twitter, Inc.
2  docs/assets/js/bootstrap-alert.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ==========================================================
2  
- * bootstrap-alert.js v2.3.0
  2
+ * bootstrap-alert.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#alerts
4 4
  * ==========================================================
5 5
  * Copyright 2012 Twitter, Inc.
2  docs/assets/js/bootstrap-button.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ============================================================
2  
- * bootstrap-button.js v2.3.0
  2
+ * bootstrap-button.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#buttons
4 4
  * ============================================================
5 5
  * Copyright 2012 Twitter, Inc.
4  docs/assets/js/bootstrap-carousel.js
... ...
@@ -1,5 +1,5 @@
@@ -75,7 +75,7 @@
2  docs/assets/js/bootstrap-collapse.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* =============================================================
2  
- * bootstrap-collapse.js v2.3.0
  2
+ * bootstrap-collapse.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#collapse
4 4
  * =============================================================
5 5
  * Copyright 2012 Twitter, Inc.
4  docs/assets/js/bootstrap-dropdown.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ============================================================
2  
- * bootstrap-dropdown.js v2.3.0
  2
+ * bootstrap-dropdown.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#dropdowns
4 4
  * ============================================================
5 5
  * Copyright 2012 Twitter, Inc.
@@ -158,7 +158,7 @@
158 158
   $(document)
159 159
     .on('click.dropdown.data-api', clearMenus)
160 160
     .on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
161  
-    .on('.dropdown-menu', function (e) { e.stopPropagation() })
  161
+    .on('click.dropdown-menu', function (e) { e.stopPropagation() })
162 162
     .on('click.dropdown.data-api'  , toggle, Dropdown.prototype.toggle)
163 163
     .on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
164 164
 
4  docs/assets/js/bootstrap-modal.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* =========================================================
2  
- * bootstrap-modal.js v2.3.0
  2
+ * bootstrap-modal.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#modals
4 4
  * =========================================================
5 5
  * Copyright 2012 Twitter, Inc.
@@ -148,7 +148,7 @@
148 148
       }
149 149
 
150 150
     , removeBackdrop: function () {
151  
-        this.$backdrop.remove()
  151
+        this.$backdrop && this.$backdrop.remove()
152 152
         this.$backdrop = null
153 153
       }
154 154
 
2  docs/assets/js/bootstrap-popover.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ===========================================================
2  
- * bootstrap-popover.js v2.3.0
  2
+ * bootstrap-popover.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#popovers
4 4
  * ===========================================================
5 5
  * Copyright 2012 Twitter, Inc.
2  docs/assets/js/bootstrap-scrollspy.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* =============================================================
2  
- * bootstrap-scrollspy.js v2.3.0
  2
+ * bootstrap-scrollspy.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#scrollspy
4 4
  * =============================================================
5 5
  * Copyright 2012 Twitter, Inc.
2  docs/assets/js/bootstrap-tab.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ========================================================
2  
- * bootstrap-tab.js v2.3.0
  2
+ * bootstrap-tab.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#tabs
4 4
  * ========================================================
5 5
  * Copyright 2012 Twitter, Inc.
12  docs/assets/js/bootstrap-tooltip.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ===========================================================
2  
- * bootstrap-tooltip.js v2.3.0
  2
+ * bootstrap-tooltip.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#tooltips
4 4
  * Inspired by the original jQuery.tipsy by Jason Frame
5 5
  * ===========================================================
@@ -80,7 +80,15 @@
80 80
     }
81 81
 
82 82
   , enter: function (e) {
83  
-      var self = $(e.currentTarget)[this.type](this._options).data(this.type)
  83
+      var defaults = $.fn[this.type].defaults
  84
+        , options = {}
  85
+        , self
  86
+
  87
+      this._options && $.each(this._options, function (key, value) {
  88
+        if (defaults[key] != value) options[key] = value
  89
+      }, this)
  90
+
  91
+      self = $(e.currentTarget)[this.type](options).data(this.type)
84 92
 
85 93
       if (!self.options.delay || !self.options.delay.show) return self.show()
86 94
 
2  docs/assets/js/bootstrap-transition.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ===================================================
2  
- * bootstrap-transition.js v2.3.0
  2
+ * bootstrap-transition.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#transitions
4 4
  * ===================================================
5 5
  * Copyright 2012 Twitter, Inc.
2  docs/assets/js/bootstrap-typeahead.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* =============================================================
2  
- * bootstrap-typeahead.js v2.3.0
  2
+ * bootstrap-typeahead.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#typeahead
4 4
  * =============================================================
5 5
  * Copyright 2012 Twitter, Inc.
42  docs/assets/js/bootstrap.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ===================================================
2  
- * bootstrap-transition.js v2.3.0
  2
+ * bootstrap-transition.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#transitions
4 4
  * ===================================================
5 5
  * Copyright 2012 Twitter, Inc.
@@ -58,7 +58,7 @@
58 58
   })
59 59
 
60 60
 }(window.jQuery);/* ==========================================================
61  
- * bootstrap-alert.js v2.3.0
  61
+ * bootstrap-alert.js v2.3.1
62 62
  * http://twitter.github.com/bootstrap/javascript.html#alerts
63 63
  * ==========================================================
64 64
  * Copyright 2012 Twitter, Inc.
@@ -156,7 +156,7 @@
156 156
   $(document).on('click.alert.data-api', dismiss, Alert.prototype.close)
157 157
 
158 158
 }(window.jQuery);/* ============================================================
159  
- * bootstrap-button.js v2.3.0
  159
+ * bootstrap-button.js v2.3.1
160 160
  * http://twitter.github.com/bootstrap/javascript.html#buttons
161 161
  * ============================================================
162 162
  * Copyright 2012 Twitter, Inc.
@@ -260,7 +260,7 @@
260 260
   })
261 261
 
262 262
 }(window.jQuery);/* ==========================================================
263  
- * bootstrap-carousel.js v2.3.0
  263
+ * bootstrap-carousel.js v2.3.1
264 264
  * http://twitter.github.com/bootstrap/javascript.html#carousel
265 265
  * ==========================================================
266 266
  * Copyright 2012 Twitter, Inc.
@@ -336,7 +336,7 @@
336 336
       if (!e) this.paused = true
337 337
       if (this.$element.find('.next, .prev').length && $.support.transition.end) {
338 338
         this.$element.trigger($.support.transition.end)
339  
-        this.cycle()
  339
+        this.cycle(true)
340 340
       }
341 341
       clearInterval(this.interval)
342 342
       this.interval = null
@@ -466,7 +466,7 @@
466 466
   })
467 467
 
468 468
 }(window.jQuery);/* =============================================================
469  
- * bootstrap-collapse.js v2.3.0
  469
+ * bootstrap-collapse.js v2.3.1
470 470
  * http://twitter.github.com/bootstrap/javascript.html#collapse
471 471
  * =============================================================
472 472
  * Copyright 2012 Twitter, Inc.
@@ -632,7 +632,7 @@
632 632
   })
633 633
 
634 634
 }(window.jQuery);/* ============================================================
635  
- * bootstrap-dropdown.js v2.3.0
  635
+ * bootstrap-dropdown.js v2.3.1
636 636
  * http://twitter.github.com/bootstrap/javascript.html#dropdowns
637 637
  * ============================================================
638 638
  * Copyright 2012 Twitter, Inc.
@@ -791,13 +791,13 @@
791 791
   $(document)
792 792
     .on('click.dropdown.data-api', clearMenus)
793 793
     .on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
794  
-    .on('.dropdown-menu', function (e) { e.stopPropagation() })
  794
+    .on('click.dropdown-menu', function (e) { e.stopPropagation() })
795 795
     .on('click.dropdown.data-api'  , toggle, Dropdown.prototype.toggle)
796 796
     .on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
797 797
 
798 798
 }(window.jQuery);
799 799
 /* =========================================================
800  
- * bootstrap-modal.js v2.3.0
  800
+ * bootstrap-modal.js v2.3.1
801 801
  * http://twitter.github.com/bootstrap/javascript.html#modals
802 802
  * =========================================================
803 803
  * Copyright 2012 Twitter, Inc.
@@ -946,7 +946,7 @@
946 946
       }
947 947
 
948 948
     , removeBackdrop: function () {
949  
-        this.$backdrop.remove()
  949
+        this.$backdrop && this.$backdrop.remove()
950 950
         this.$backdrop = null
951 951
       }
952 952
 
@@ -1044,7 +1044,7 @@
1044 1044
 
1045 1045
 }(window.jQuery);
1046 1046
 /* ===========================================================
1047  
- * bootstrap-tooltip.js v2.3.0
  1047
+ * bootstrap-tooltip.js v2.3.1
1048 1048
  * http://twitter.github.com/bootstrap/javascript.html#tooltips
1049 1049
  * Inspired by the original jQuery.tipsy by Jason Frame
1050 1050
  * ===========================================================
@@ -1125,7 +1125,15 @@
1125 1125
     }
1126 1126
 
1127 1127
   , enter: function (e) {
1128  
-      var self = $(e.currentTarget)[this.type](this._options).data(this.type)
  1128
+      var defaults = $.fn[this.type].defaults
  1129
+        , options = {}
  1130
+        , self
  1131
+
  1132
+      this._options && $.each(this._options, function (key, value) {
  1133
+        if (defaults[key] != value) options[key] = value
  1134
+      }, this)
  1135
+
  1136
+      self = $(e.currentTarget)[this.type](options).data(this.type)
1129 1137
 
1130 1138
       if (!self.options.delay || !self.options.delay.show) return self.show()
1131 1139
 
@@ -1397,7 +1405,7 @@
1397 1405
 
1398 1406
 }(window.jQuery);
1399 1407
 /* ===========================================================
1400  
- * bootstrap-popover.js v2.3.0
  1408
+ * bootstrap-popover.js v2.3.1
1401 1409
  * http://twitter.github.com/bootstrap/javascript.html#popovers
1402 1410
  * ===========================================================
1403 1411
  * Copyright 2012 Twitter, Inc.
@@ -1511,7 +1519,7 @@
1511 1519
 
1512 1520
 }(window.jQuery);
1513 1521
 /* =============================================================
1514  
- * bootstrap-scrollspy.js v2.3.0
  1522
+ * bootstrap-scrollspy.js v2.3.1
1515 1523
  * http://twitter.github.com/bootstrap/javascript.html#scrollspy
1516 1524
  * =============================================================
1517 1525
  * Copyright 2012 Twitter, Inc.
@@ -1672,7 +1680,7 @@
1672 1680
   })
1673 1681
 
1674 1682
 }(window.jQuery);/* ========================================================
1675  
- * bootstrap-tab.js v2.3.0
  1683
+ * bootstrap-tab.js v2.3.1
1676 1684
  * http://twitter.github.com/bootstrap/javascript.html#tabs
1677 1685
  * ========================================================
1678 1686
  * Copyright 2012 Twitter, Inc.
@@ -1815,7 +1823,7 @@
1815 1823
   })
1816 1824
 
1817 1825
 }(window.jQuery);/* =============================================================
1818  
- * bootstrap-typeahead.js v2.3.0
  1826
+ * bootstrap-typeahead.js v2.3.1
1819 1827
  * http://twitter.github.com/bootstrap/javascript.html#typeahead
1820 1828
  * =============================================================
1821 1829
  * Copyright 2012 Twitter, Inc.
@@ -2150,7 +2158,7 @@
2150 2158
 
2151 2159
 }(window.jQuery);
2152 2160
 /* ==========================================================
2153  
- * bootstrap-affix.js v2.3.0
  2161
+ * bootstrap-affix.js v2.3.1
2154 2162
  * http://twitter.github.com/bootstrap/javascript.html#affix
2155 2163
  * ==========================================================
2156 2164
  * Copyright 2012 Twitter, Inc.
4  docs/assets/js/bootstrap.min.js
... ...
@@ -1,6 +1,6 @@
1 1
 /**
2  
-* Bootstrap.js v2.3.0 by @fat & @mdo
  2
+* Bootstrap.js v2.3.1 by @fat & @mdo
3 3
 * Copyright 2012 Twitter, Inc.
4 4
 * http://www.apache.org/licenses/LICENSE-2.0.txt
5 5
 */
6  
-!function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle()),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data()),o;i.carousel(s),(o=n.attr("data-slide-to"))&&i.data("carousel").pause().to(o).cycle(),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning||this.$element.hasClass("in"))return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning||!this.$element.hasClass("in"))return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=e.extend({},e.fn.collapse.defaults,r.data(),typeof n=="object"&&n);i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=n,this},e(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})}(window.jQuery),!function(e){"use strict";function r(){e(t).each(function(){i(e(this)).removeClass("open")})}function i(t){var n=t.attr("data-target"),r;n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=n&&e(n);if(!r||!r.length)r=t.parent();return r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||s.toggleClass("open"),n.focus(),!1},keydown:function(n){var r,s,o,u,a,f;if(!/(38|40|27)/.test(n.keyCode))return;r=e(this),n.preventDefault(),n.stopPropagation();if(r.is(".disabled, :disabled"))return;u=i(r),a=u.hasClass("open");if(!a||a&&n.keyCode==27)return n.which==27&&u.find(t).focus(),r.click();s=e("[role=menu] li:not(.divider):visible a",u);if(!s.length)return;f=s.index(s.filter(":focus")),n.keyCode==38&&f>0&&f--,n.keyCode==40&&f<s.length-1&&f++,~f||(f=0),s.eq(f).focus()}};var s=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var r=e(this),i=r.data("dropdown");i||r.data("dropdown",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.dropdown.data-api",r).on("click.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on(".dropdown-menu",function(e){e.stopPropagation()}).on("click.dropdown.data-api",t,n.prototype.toggle).on("keydown.dropdown.data-api",t+", [role=menu]",n.prototype.keydown)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",e.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,n=e.Event("show");this.$element.trigger(n);if(this.isShown||n.isDefaultPrevented())return;this.isShown=!0,this.escape(),this.backdrop(function(){var n=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),n&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1),t.enforceFocus(),n?t.$element.one(e.support.transition.end,function(){t.$element.focus().trigger("shown")}):t.$element.focus().trigger("shown")})},hide:function(t){t&&t.preventDefault();var n=this;t=e.Event("hide"),this.$element.trigger(t);if(!this.isShown||t.isDefaultPrevented())return;this.isShown=!1,this.escape(),e(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),e.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var t=this;e(document).on("focusin.modal",function(e){t.$element[0]!==e.target&&!t.$element.has(e.target).length&&t.$element.focus()})},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(t){t.which==27&&e.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,n=setTimeout(function(){t.$element.off(e.support.transition.end),t.hideModal()},500);this.$element.one(e.support.transition.end,function(){clearTimeout(n),t.hideModal()})},hideModal:function(){var e=this;this.$element.hide(),this.backdrop(function(){e.removeBackdrop(),e.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&r;this.$backdrop=e('<div class="modal-backdrop '+r+'" />').appendTo(document.body),this.$backdrop.click(this.options.backdrop=="static"?e.proxy(this.$element[0].focus,this.$element[0]):e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in");if(!t)return;i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,t):t()):t&&t()}};var n=e.fn.modal;e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s,o,u,a;this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.enabled=!0,o=this.options.trigger.split(" ");for(a=o.length;a--;)u=o[a],u=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):u!="manual"&&(i=u=="hover"?"mouseenter":"focus",s=u=="hover"?"mouseleave":"blur",this.$element.on(i+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this)));this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=e.extend({},e.fn[this.type].defaults,this.$element.data(),t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);if(!n.options.delay||!n.options.delay.show)return n.show();clearTimeout(this.timeout),n.hoverState="in",this.timeout=setTimeout(function(){n.hoverState=="in"&&n.show()},n.options.delay.show)},leave:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},show:function(){var t,n,r,i,s,o,u=e.Event("show");if(this.hasContent()&&this.enabled){this.$element.trigger(u);if(u.isDefaultPrevented())return;t=this.tip(),this.setContent(),this.options.animation&&t.addClass("fade"),s=typeof this.options.placement=="function"?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,t.detach().css({top:0,left:0,display:"block"}),this.options.container?t.appendTo(this.options.container):t.insertAfter(this.$element),n=this.getPosition(),r=t[0].offsetWidth,i=t[0].offsetHeight;switch(s){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-r/2};break;case"top":o={top:n.top-i,left:n.left+n.width/2-r/2};break;case"left":o={top:n.top+n.height/2-i/2,left:n.left-r};break;case"right":o={top:n.top+n.height/2-i/2,left:n.left+n.width}}this.applyPlacement(o,s),this.$element.trigger("shown")}},applyPlacement:function(e,t){var n=this.tip(),r=n[0].offsetWidth,i=n[0].offsetHeight,s,o,u,a;n.offset(e).addClass(t).addClass("in"),s=n[0].offsetWidth,o=n[0].offsetHeight,t=="top"&&o!=i&&(e.top=e.top+i-o,a=!0),t=="bottom"||t=="top"?(u=0,e.left<0&&(u=e.left*-2,e.left=0,n.offset(e),s=n[0].offsetWidth,o=n[0].offsetHeight),this.replaceArrow(u-r+s,s,"left")):this.replaceArrow(o-i,o,"top"),a&&n.offset(e)},replaceArrow:function(e,t,n){this.arrow().css(n,e?50*(1-e/t)+"%":"")},setContent:function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},hide:function(){function i(){var t=setTimeout(function(){n.off(e.support.transition.end).detach()},500);n.one(e.support.transition.end,function(){clearTimeout(t),n.detach()})}var t=this,n=this.tip(),r=e.Event("hide");this.$element.trigger(r);if(r.isDefaultPrevented())return;return n.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?i():n.detach(),this.$element.trigger("hidden"),this},fixTitle:function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var t=this.$element[0];return e.extend({},typeof t.getBoundingClientRect=="function"?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},getTitle:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},tip:function(){return this.$tip=this.$tip||e(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(t){var n=t?e(t.currentTarget)[this.type](this._options).data(this.type):this;n.tip().hasClass("in")?n.hide():n.show()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("tooltip"),s=typeof n=="object"&&n;i||r.data("tooltip",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.tooltip.Constructor=t,e.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype,{constructor:t,setContent:function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content")[this.options.html?"html":"text"](n),e.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var e,t=this.$element,n=this.options;return e=(typeof n.content=="function"?n.content.call(t[0]):n.content)||t.attr("data-content"),e},tip:function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}});var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("popover"),s=typeof n=="object"&&n;i||r.data("popover",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.popover.Constructor=t,e.fn.popover.defaults=e.extend({},e.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(window.jQuery),!function(e){"use strict";function t(t,n){var r=e.proxy(this.process,this),i=e(t).is("body")?e(window):e(t),s;this.options=e.extend({},e.fn.scrollspy.defaults,n),this.$scrollElement=i.on("scroll.scroll-spy.data-api",r),this.selector=(this.options.target||(s=e(t).attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=e("body"),this.refresh(),this.process()}t.prototype={constructor:t,refresh:function(){var t=this,n;this.offsets=e([]),this.targets=e([]),n=this.$body.find(this.selector).map(function(){var n=e(this),r=n.data("target")||n.attr("href"),i=/^#\w/.test(r)&&e(r);return i&&i.length&&[[i.position().top+(!e.isWindow(t.$scrollElement.get(0))&&t.$scrollElement.scrollTop()),r]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var e=this.$scrollElement.scrollTop()+this.options.offset,t=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,n=t-this.$scrollElement.height(),r=this.offsets,i=this.targets,s=this.activeTarget,o;if(e>=n)return s!=(o=i.last()[0])&&this.activate(o);for(o=r.length;o--;)s!=i[o]&&e>=r[o]&&(!r[o+1]||e<=r[o+1])&&this.activate(i[o])},activate:function(t){var n,r;this.activeTarget=t,e(this.selector).parent(".active").removeClass("active"),r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}};var n=e.fn.scrollspy;e.fn.scrollspy=function(n){return this.each(function(){var r=e(this),i=r.data("scrollspy"),s=typeof n=="object"&&n;i||r.data("scrollspy",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.scrollspy.Constructor=t,e.fn.scrollspy.defaults={offset:10},e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=n,this},e(window).on("load",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);t.scrollspy(t.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t){this.element=e(t)};t.prototype={constructor:t,show:function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.attr("data-target"),i,s,o;r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));if(t.parent("li").hasClass("active"))return;i=n.find(".active:last a")[0],o=e.Event("show",{relatedTarget:i}),t.trigger(o);if(o.isDefaultPrevented())return;s=e(r),this.activate(t.parent("li"),n),this.activate(s,s.parent(),function(){t.trigger({type:"shown",relatedTarget:i})})},activate:function(t,n,r){function o(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),r&&r()}var i=n.find("> .active"),s=r&&e.support.transition&&i.hasClass("fade");s?i.one(e.support.transition.end,o):o(),i.removeClass("in")}};var n=e.fn.tab;e.fn.tab=function(n){return this.each(function(){var r=e(this),i=r.data("tab");i||r.data("tab",i=new t(this)),typeof n=="string"&&i[n]()})},e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=n,this},e(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e(this).tab("show")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source,this.$menu=e(this.options.menu),this.shown=!1,this.listen()};t.prototype={constructor:t,select:function(){var e=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(e)).change(),this.hide()},updater:function(e){return e},show:function(){var t=e.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});return this.$menu.insertAfter(this.$element).css({top:t.top+t.height,left:t.left}).show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var n;return this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength?this.shown?this.hide():this:(n=e.isFunction(this.source)?this.source(this.query,e.proxy(this.process,this)):this.source,n?this.process(n):this)},process:function(t){var n=this;return t=e.grep(t,function(e){return n.matcher(e)}),t=this.sorter(t),t.length?this.render(t.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(e){return~e.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(e){var t=[],n=[],r=[],i;while(i=e.shift())i.toLowerCase().indexOf(this.query.toLowerCase())?~i.indexOf(this.query)?n.push(i):r.push(i):t.push(i);return t.concat(n,r)},highlighter:function(e){var t=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return e.replace(new RegExp("("+t+")","ig"),function(e,t){return"<strong>"+t+"</strong>"})},render:function(t){var n=this;return t=e(t).map(function(t,r){return t=e(n.options.item).attr("data-value",r),t.find("a").html(n.highlighter(r)),t[0]}),t.first().addClass("active"),this.$menu.html(t),this},next:function(t){var n=this.$menu.find(".active").removeClass("active"),r=n.next();r.length||(r=e(this.$menu.find("li")[0])),r.addClass("active")},prev:function(e){var t=this.$menu.find(".active").removeClass("active"),n=t.prev();n.length||(n=this.$menu.find("li").last()),n.addClass("active")},listen:function(){this.$element.on("focus",e.proxy(this.focus,this)).on("blur",e.proxy(this.blur,this)).on("keypress",e.proxy(this.keypress,this)).on("keyup",e.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",e.proxy(this.keydown,this)),this.$menu.on("click",e.proxy(this.click,this)).on("mouseenter","li",e.proxy(this.mouseenter,this)).on("mouseleave","li",e.proxy(this.mouseleave,this))},eventSupported:function(e){var t=e in this.$element;return t||(this.$element.setAttribute(e,"return;"),t=typeof this.$element[e]=="function"),t},move:function(e){if(!this.shown)return;switch(e.keyCode){case 9:case 13:case 27:e.preventDefault();break;case 38:e.preventDefault(),this.prev();break;case 40:e.preventDefault(),this.next()}e.stopPropagation()},keydown:function(t){this.suppressKeyPressRepeat=~e.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(e){if(this.suppressKeyPressRepeat)return;this.move(e)},keyup:function(e){switch(e.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}e.stopPropagation(),e.preventDefault()},focus:function(e){this.focused=!0},blur:function(e){this.focused=!1,!this.mousedover&&this.shown&&this.hide()},click:function(e){e.stopPropagation(),e.preventDefault(),this.select(),this.$element.focus()},mouseenter:function(t){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),e(t.currentTarget).addClass("active")},mouseleave:function(e){this.mousedover=!1,!this.focused&&this.shown&&this.hide()}};var n=e.fn.typeahead;e.fn.typeahead=function(n){return this.each(function(){var r=e(this),i=r.data("typeahead"),s=typeof n=="object"&&n;i||r.data("typeahead",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1},e.fn.typeahead.Constructor=t,e.fn.typeahead.noConflict=function(){return e.fn.typeahead=n,this},e(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var n=e(this);if(n.data("typeahead"))return;n.typeahead(n.data())})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.affix.defaults,n),this.$window=e(window).on("scroll.affix.data-api",e.proxy(this.checkPosition,this)).on("click.affix.data-api",e.proxy(function(){setTimeout(e.proxy(this.checkPosition,this),1)},this)),this.$element=e(t),this.checkPosition()};t.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var t=e(document).height(),n=this.$window.scrollTop(),r=this.$element.offset(),i=this.options.offset,s=i.bottom,o=i.top,u="affix affix-top affix-bottom",a;typeof i!="object"&&(s=o=i),typeof o=="function"&&(o=i.top()),typeof s=="function"&&(s=i.bottom()),a=this.unpin!=null&&n+this.unpin<=r.top?!1:s!=null&&r.top+this.$element.height()>=t-s?"bottom":o!=null&&n<=o?"top":!1;if(this.affixed===a)return;this.affixed=a,this.unpin=a=="bottom"?r.top-n:null,this.$element.removeClass(u).addClass("affix"+(a?"-"+a:""))};var n=e.fn.affix;e.fn.affix=function(n){return this.each(function(){var r=e(this),i=r.data("affix"),s=typeof n=="object"&&n;i||r.data("affix",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.affix.Constructor=t,e.fn.affix.defaults={offset:0},e.fn.affix.noConflict=function(){return e.fn.affix=n,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),t.affix(n)})})}(window.jQuery);
  6
+!function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data()),o;i.carousel(s),(o=n.attr("data-slide-to"))&&i.data("carousel").pause().to(o).cycle(),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning||this.$element.hasClass("in"))return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning||!this.$element.hasClass("in"))return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=e.extend({},e.fn.collapse.defaults,r.data(),typeof n=="object"&&n);i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=n,this},e(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})}(window.jQuery),!function(e){"use strict";function r(){e(t).each(function(){i(e(this)).removeClass("open")})}function i(t){var n=t.attr("data-target"),r;n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=n&&e(n);if(!r||!r.length)r=t.parent();return r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||s.toggleClass("open"),n.focus(),!1},keydown:function(n){var r,s,o,u,a,f;if(!/(38|40|27)/.test(n.keyCode))return;r=e(this),n.preventDefault(),n.stopPropagation();if(r.is(".disabled, :disabled"))return;u=i(r),a=u.hasClass("open");if(!a||a&&n.keyCode==27)return n.which==27&&u.find(t).focus(),r.click();s=e("[role=menu] li:not(.divider):visible a",u);if(!s.length)return;f=s.index(s.filter(":focus")),n.keyCode==38&&f>0&&f--,n.keyCode==40&&f<s.length-1&&f++,~f||(f=0),s.eq(f).focus()}};var s=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var r=e(this),i=r.data("dropdown");i||r.data("dropdown",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.dropdown.data-api",r).on("click.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.dropdown-menu",function(e){e.stopPropagation()}).on("click.dropdown.data-api",t,n.prototype.toggle).on("keydown.dropdown.data-api",t+", [role=menu]",n.prototype.keydown)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",e.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,n=e.Event("show");this.$element.trigger(n);if(this.isShown||n.isDefaultPrevented())return;this.isShown=!0,this.escape(),this.backdrop(function(){var n=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),n&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1),t.enforceFocus(),n?t.$element.one(e.support.transition.end,function(){t.$element.focus().trigger("shown")}):t.$element.focus().trigger("shown")})},hide:function(t){t&&t.preventDefault();var n=this;t=e.Event("hide"),this.$element.trigger(t);if(!this.isShown||t.isDefaultPrevented())return;this.isShown=!1,this.escape(),e(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),e.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var t=this;e(document).on("focusin.modal",function(e){t.$element[0]!==e.target&&!t.$element.has(e.target).length&&t.$element.focus()})},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(t){t.which==27&&e.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,n=setTimeout(function(){t.$element.off(e.support.transition.end),t.hideModal()},500);this.$element.one(e.support.transition.end,function(){clearTimeout(n),t.hideModal()})},hideModal:function(){var e=this;this.$element.hide(),this.backdrop(function(){e.removeBackdrop(),e.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&r;this.$backdrop=e('<div class="modal-backdrop '+r+'" />').appendTo(document.body),this.$backdrop.click(this.options.backdrop=="static"?e.proxy(this.$element[0].focus,this.$element[0]):e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in");if(!t)return;i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,t):t()):t&&t()}};var n=e.fn.modal;e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s,o,u,a;this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.enabled=!0,o=this.options.trigger.split(" ");for(a=o.length;a--;)u=o[a],u=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):u!="manual"&&(i=u=="hover"?"mouseenter":"focus",s=u=="hover"?"mouseleave":"blur",this.$element.on(i+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this)));this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=e.extend({},e.fn[this.type].defaults,this.$element.data(),t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var n=e.fn[this.type].defaults,r={},i;this._options&&e.each(this._options,function(e,t){n[e]!=t&&(r[e]=t)},this),i=e(t.currentTarget)[this.type](r).data(this.type);if(!i.options.delay||!i.options.delay.show)return i.show();clearTimeout(this.timeout),i.hoverState="in",this.timeout=setTimeout(function(){i.hoverState=="in"&&i.show()},i.options.delay.show)},leave:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},show:function(){var t,n,r,i,s,o,u=e.Event("show");if(this.hasContent()&&this.enabled){this.$element.trigger(u);if(u.isDefaultPrevented())return;t=this.tip(),this.setContent(),this.options.animation&&t.addClass("fade"),s=typeof this.options.placement=="function"?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,t.detach().css({top:0,left:0,display:"block"}),this.options.container?t.appendTo(this.options.container):t.insertAfter(this.$element),n=this.getPosition(),r=t[0].offsetWidth,i=t[0].offsetHeight;switch(s){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-r/2};break;case"top":o={top:n.top-i,left:n.left+n.width/2-r/2};break;case"left":o={top:n.top+n.height/2-i/2,left:n.left-r};break;case"right":o={top:n.top+n.height/2-i/2,left:n.left+n.width}}this.applyPlacement(o,s),this.$element.trigger("shown")}},applyPlacement:function(e,t){var n=this.tip(),r=n[0].offsetWidth,i=n[0].offsetHeight,s,o,u,a;n.offset(e).addClass(t).addClass("in"),s=n[0].offsetWidth,o=n[0].offsetHeight,t=="top"&&o!=i&&(e.top=e.top+i-o,a=!0),t=="bottom"||t=="top"?(u=0,e.left<0&&(u=e.left*-2,e.left=0,n.offset(e),s=n[0].offsetWidth,o=n[0].offsetHeight),this.replaceArrow(u-r+s,s,"left")):this.replaceArrow(o-i,o,"top"),a&&n.offset(e)},replaceArrow:function(e,t,n){this.arrow().css(n,e?50*(1-e/t)+"%":"")},setContent:function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},hide:function(){function i(){var t=setTimeout(function(){n.off(e.support.transition.end).detach()},500);n.one(e.support.transition.end,function(){clearTimeout(t),n.detach()})}var t=this,n=this.tip(),r=e.Event("hide");this.$element.trigger(r);if(r.isDefaultPrevented())return;return n.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?i():n.detach(),this.$element.trigger("hidden"),this},fixTitle:function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var t=this.$element[0];return e.extend({},typeof t.getBoundingClientRect=="function"?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},getTitle:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},tip:function(){return this.$tip=this.$tip||e(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(t){var n=t?e(t.currentTarget)[this.type](this._options).data(this.type):this;n.tip().hasClass("in")?n.hide():n.show()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("tooltip"),s=typeof n=="object"&&n;i||r.data("tooltip",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.tooltip.Constructor=t,e.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype,{constructor:t,setContent:function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content")[this.options.html?"html":"text"](n),e.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var e,t=this.$element,n=this.options;return e=(typeof n.content=="function"?n.content.call(t[0]):n.content)||t.attr("data-content"),e},tip:function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}});var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("popover"),s=typeof n=="object"&&n;i||r.data("popover",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.popover.Constructor=t,e.fn.popover.defaults=e.extend({},e.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(window.jQuery),!function(e){"use strict";function t(t,n){var r=e.proxy(this.process,this),i=e(t).is("body")?e(window):e(t),s;this.options=e.extend({},e.fn.scrollspy.defaults,n),this.$scrollElement=i.on("scroll.scroll-spy.data-api",r),this.selector=(this.options.target||(s=e(t).attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=e("body"),this.refresh(),this.process()}t.prototype={constructor:t,refresh:function(){var t=this,n;this.offsets=e([]),this.targets=e([]),n=this.$body.find(this.selector).map(function(){var n=e(this),r=n.data("target")||n.attr("href"),i=/^#\w/.test(r)&&e(r);return i&&i.length&&[[i.position().top+(!e.isWindow(t.$scrollElement.get(0))&&t.$scrollElement.scrollTop()),r]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var e=this.$scrollElement.scrollTop()+this.options.offset,t=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,n=t-this.$scrollElement.height(),r=this.offsets,i=this.targets,s=this.activeTarget,o;if(e>=n)return s!=(o=i.last()[0])&&this.activate(o);for(o=r.length;o--;)s!=i[o]&&e>=r[o]&&(!r[o+1]||e<=r[o+1])&&this.activate(i[o])},activate:function(t){var n,r;this.activeTarget=t,e(this.selector).parent(".active").removeClass("active"),r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}};var n=e.fn.scrollspy;e.fn.scrollspy=function(n){return this.each(function(){var r=e(this),i=r.data("scrollspy"),s=typeof n=="object"&&n;i||r.data("scrollspy",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.scrollspy.Constructor=t,e.fn.scrollspy.defaults={offset:10},e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=n,this},e(window).on("load",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);t.scrollspy(t.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t){this.element=e(t)};t.prototype={constructor:t,show:function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.attr("data-target"),i,s,o;r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));if(t.parent("li").hasClass("active"))return;i=n.find(".active:last a")[0],o=e.Event("show",{relatedTarget:i}),t.trigger(o);if(o.isDefaultPrevented())return;s=e(r),this.activate(t.parent("li"),n),this.activate(s,s.parent(),function(){t.trigger({type:"shown",relatedTarget:i})})},activate:function(t,n,r){function o(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),r&&r()}var i=n.find("> .active"),s=r&&e.support.transition&&i.hasClass("fade");s?i.one(e.support.transition.end,o):o(),i.removeClass("in")}};var n=e.fn.tab;e.fn.tab=function(n){return this.each(function(){var r=e(this),i=r.data("tab");i||r.data("tab",i=new t(this)),typeof n=="string"&&i[n]()})},e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=n,this},e(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e(this).tab("show")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source,this.$menu=e(this.options.menu),this.shown=!1,this.listen()};t.prototype={constructor:t,select:function(){var e=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(e)).change(),this.hide()},updater:function(e){return e},show:function(){var t=e.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});return this.$menu.insertAfter(this.$element).css({top:t.top+t.height,left:t.left}).show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var n;return this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength?this.shown?this.hide():this:(n=e.isFunction(this.source)?this.source(this.query,e.proxy(this.process,this)):this.source,n?this.process(n):this)},process:function(t){var n=this;return t=e.grep(t,function(e){return n.matcher(e)}),t=this.sorter(t),t.length?this.render(t.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(e){return~e.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(e){var t=[],n=[],r=[],i;while(i=e.shift())i.toLowerCase().indexOf(this.query.toLowerCase())?~i.indexOf(this.query)?n.push(i):r.push(i):t.push(i);return t.concat(n,r)},highlighter:function(e){var t=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return e.replace(new RegExp("("+t+")","ig"),function(e,t){return"<strong>"+t+"</strong>"})},render:function(t){var n=this;return t=e(t).map(function(t,r){return t=e(n.options.item).attr("data-value",r),t.find("a").html(n.highlighter(r)),t[0]}),t.first().addClass("active"),this.$menu.html(t),this},next:function(t){var n=this.$menu.find(".active").removeClass("active"),r=n.next();r.length||(r=e(this.$menu.find("li")[0])),r.addClass("active")},prev:function(e){var t=this.$menu.find(".active").removeClass("active"),n=t.prev();n.length||(n=this.$menu.find("li").last()),n.addClass("active")},listen:function(){this.$element.on("focus",e.proxy(this.focus,this)).on("blur",e.proxy(this.blur,this)).on("keypress",e.proxy(this.keypress,this)).on("keyup",e.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",e.proxy(this.keydown,this)),this.$menu.on("click",e.proxy(this.click,this)).on("mouseenter","li",e.proxy(this.mouseenter,this)).on("mouseleave","li",e.proxy(this.mouseleave,this))},eventSupported:function(e){var t=e in this.$element;return t||(this.$element.setAttribute(e,"return;"),t=typeof this.$element[e]=="function"),t},move:function(e){if(!this.shown)return;switch(e.keyCode){case 9:case 13:case 27:e.preventDefault();break;case 38:e.preventDefault(),this.prev();break;case 40:e.preventDefault(),this.next()}e.stopPropagation()},keydown:function(t){this.suppressKeyPressRepeat=~e.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(e){if(this.suppressKeyPressRepeat)return;this.move(e)},keyup:function(e){switch(e.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}e.stopPropagation(),e.preventDefault()},focus:function(e){this.focused=!0},blur:function(e){this.focused=!1,!this.mousedover&&this.shown&&this.hide()},click:function(e){e.stopPropagation(),e.preventDefault(),this.select(),this.$element.focus()},mouseenter:function(t){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),e(t.currentTarget).addClass("active")},mouseleave:function(e){this.mousedover=!1,!this.focused&&this.shown&&this.hide()}};var n=e.fn.typeahead;e.fn.typeahead=function(n){return this.each(function(){var r=e(this),i=r.data("typeahead"),s=typeof n=="object"&&n;i||r.data("typeahead",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1},e.fn.typeahead.Constructor=t,e.fn.typeahead.noConflict=function(){return e.fn.typeahead=n,this},e(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var n=e(this);if(n.data("typeahead"))return;n.typeahead(n.data())})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.affix.defaults,n),this.$window=e(window).on("scroll.affix.data-api",e.proxy(this.checkPosition,this)).on("click.affix.data-api",e.proxy(function(){setTimeout(e.proxy(this.checkPosition,this),1)},this)),this.$element=e(t),this.checkPosition()};t.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var t=e(document).height(),n=this.$window.scrollTop(),r=this.$element.offset(),i=this.options.offset,s=i.bottom,o=i.top,u="affix affix-top affix-bottom",a;typeof i!="object"&&(s=o=i),typeof o=="function"&&(o=i.top()),typeof s=="function"&&(s=i.bottom()),a=this.unpin!=null&&n+this.unpin<=r.top?!1:s!=null&&r.top+this.$element.height()>=t-s?"bottom":o!=null&&n<=o?"top":!1;if(this.affixed===a)return;this.affixed=a,this.unpin=a=="bottom"?r.top-n:null,this.$element.removeClass(u).addClass("affix"+(a?"-"+a:""))};var n=e.fn.affix;e.fn.affix=function(n){return this.each(function(){var r=e(this),i=r.data("affix"),s=typeof n=="object"&&n;i||r.data("affix",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.affix.Constructor=t,e.fn.affix.defaults={offset:0},e.fn.affix.noConflict=function(){return e.fn.affix=n,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),t.affix(n)})})}(window.jQuery);
2  docs/index.html
@@ -87,7 +87,7 @@
87 87
         <a href="./extend.html" >Extend</a>
88 88
       </li>
89 89
       <li>
90  
-        Version 2.3.0
  90
+        Version 2.3.1
91 91
       </li>
92 92
     </ul>
93 93
   </div>
4  docs/templates/pages/index.mustache
@@ -3,7 +3,7 @@
3 3
     <h1>{{_i}}Bootstrap{{/i}}</h1>
4 4
     <p>{{_i}}Sleek, intuitive, and powerful front-end framework for faster and easier web development.{{/i}}</p>
5 5
     <p>
6  
-      <a href="assets/bootstrap.zip" class="btn btn-primary btn-large" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download 2.3.0']);"{{/production}}>{{_i}}Download Bootstrap{{/i}}</a>
  6
+      <a href="assets/bootstrap.zip" class="btn btn-primary btn-large" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download 2.3.1']);"{{/production}}>{{_i}}Download Bootstrap{{/i}}</a>
7 7
     </p>
8 8
     <ul class="masthead-links">
9 9
       <li>
@@ -16,7 +16,7 @@
16 16
         <a href="./extend.html" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Extend']);"{{/production}}>{{_i}}Extend{{/i}}</a>
17 17
       </li>
18 18
       <li>
19  
-        {{_i}}Version 2.3.0{{/i}}
  19
+        {{_i}}Version 2.3.1{{/i}}
20 20
       </li>
21 21
     </ul>
22 22
   </div>
2  js/bootstrap-affix.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ==========================================================
2  
- * bootstrap-affix.js v2.3.0
  2
+ * bootstrap-affix.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#affix
4 4
  * ==========================================================
5 5
  * Copyright 2012 Twitter, Inc.
2  js/bootstrap-alert.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ==========================================================
2  
- * bootstrap-alert.js v2.3.0
  2
+ * bootstrap-alert.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#alerts
4 4
  * ==========================================================
5 5
  * Copyright 2012 Twitter, Inc.
2  js/bootstrap-button.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ============================================================
2  
- * bootstrap-button.js v2.3.0
  2
+ * bootstrap-button.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#buttons
4 4
  * ============================================================
5 5
  * Copyright 2012 Twitter, Inc.
4  js/bootstrap-carousel.js
... ...
@@ -1,5 +1,5 @@
@@ -75,7 +75,7 @@
2  js/bootstrap-collapse.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* =============================================================
2  
- * bootstrap-collapse.js v2.3.0
  2
+ * bootstrap-collapse.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#collapse
4 4
  * =============================================================
5 5
  * Copyright 2012 Twitter, Inc.
4  js/bootstrap-dropdown.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ============================================================
2  
- * bootstrap-dropdown.js v2.3.0
  2
+ * bootstrap-dropdown.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#dropdowns
4 4
  * ============================================================
5 5
  * Copyright 2012 Twitter, Inc.
@@ -158,7 +158,7 @@
158 158
   $(document)
159 159
     .on('click.dropdown.data-api', clearMenus)
160 160
     .on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
161  
-    .on('.dropdown-menu', function (e) { e.stopPropagation() })
  161
+    .on('click.dropdown-menu', function (e) { e.stopPropagation() })
162 162
     .on('click.dropdown.data-api'  , toggle, Dropdown.prototype.toggle)
163 163
     .on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
164 164
 
4  js/bootstrap-modal.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* =========================================================
2  
- * bootstrap-modal.js v2.3.0
  2
+ * bootstrap-modal.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#modals
4 4
  * =========================================================
5 5
  * Copyright 2012 Twitter, Inc.
@@ -148,7 +148,7 @@
148 148
       }
149 149
 
150 150
     , removeBackdrop: function () {
151  
-        this.$backdrop.remove()
  151
+        this.$backdrop && this.$backdrop.remove()
152 152
         this.$backdrop = null
153 153
       }
154 154
 
2  js/bootstrap-popover.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ===========================================================
2  
- * bootstrap-popover.js v2.3.0
  2
+ * bootstrap-popover.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#popovers
4 4
  * ===========================================================
5 5
  * Copyright 2012 Twitter, Inc.
2  js/bootstrap-scrollspy.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* =============================================================
2  
- * bootstrap-scrollspy.js v2.3.0
  2
+ * bootstrap-scrollspy.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#scrollspy
4 4
  * =============================================================
5 5
  * Copyright 2012 Twitter, Inc.
2  js/bootstrap-tab.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ========================================================
2  
- * bootstrap-tab.js v2.3.0
  2
+ * bootstrap-tab.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#tabs
4 4
  * ========================================================
5 5
  * Copyright 2012 Twitter, Inc.
12  js/bootstrap-tooltip.js
... ...
@@ -1,5 +1,5 @@
1 1
 /* ===========================================================
2  
- * bootstrap-tooltip.js v2.3.0
  2
+ * bootstrap-tooltip.js v2.3.1
3 3
  * http://twitter.github.com/bootstrap/javascript.html#tooltips
4 4
  * Inspired by the original jQuery.tipsy by Jason Frame
5 5
  * ===========================================================
@@ -80,7 +80,15 @@
80 80
     }
81 81
 
8