bootstrap-sass-rails 2.2.2.1 → 2.3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. data/README.md +25 -0
  2. data/lib/bootstrap/sass/rails/version.rb +1 -1
  3. data/test/dummy/log/test.log +0 -142
  4. data/test/dummy/tmp/cache/assets/C6F/370/sprockets%2F966879d6ff8742dc619724287f4a5150 +0 -0
  5. data/test/dummy/tmp/cache/assets/C73/6D0/sprockets%2F1960b4507c3aaa988180fb04093d1427 +0 -0
  6. data/test/dummy/tmp/cache/assets/C83/870/sprockets%2F508e55e1444b44d0187677a51893acf2 +0 -0
  7. data/test/dummy/tmp/cache/assets/C94/270/sprockets%2F40520eb6297b2908496e752e588f2f7d +0 -0
  8. data/test/dummy/tmp/cache/assets/CA6/110/sprockets%2F272615ec4af76b10339048ca6da44284 +0 -0
  9. data/test/dummy/tmp/cache/assets/CAD/040/sprockets%2F915d29a78a13fbbb606d47840634d703 +0 -0
  10. data/test/dummy/tmp/cache/assets/CB0/110/sprockets%2F057089195001bff3a770cec267e0877b +0 -0
  11. data/test/dummy/tmp/cache/assets/CB4/BD0/sprockets%2Fe0c39183ec49530b6c0758c1e945d274 +0 -0
  12. data/test/dummy/tmp/cache/assets/CB5/410/sprockets%2Ff2d804e78b14c4005d86653e2e957a35 +0 -0
  13. data/test/dummy/tmp/cache/assets/CCE/280/sprockets%2F59565d2ec707a1eb10c0b2302d58f920 +0 -0
  14. data/test/dummy/tmp/cache/assets/CD1/580/sprockets%2F7e48514e772b39d8878a8181798eaea6 +0 -0
  15. data/test/dummy/tmp/cache/assets/CDD/E80/sprockets%2Fa7248f6c140e4c834d8a4b5b0703f189 +0 -0
  16. data/test/dummy/tmp/cache/assets/CE2/910/sprockets%2Fee1ae05707da2d0176094849e35099ce +0 -0
  17. data/test/dummy/tmp/cache/assets/CE5/650/sprockets%2F8ab512c9b33ac90e699b73469d71f061 +0 -0
  18. data/test/dummy/tmp/cache/assets/CE9/4E0/sprockets%2F1c1f6d1579d9ad26654219f30c46f95c +0 -0
  19. data/test/dummy/tmp/cache/assets/CE9/E40/sprockets%2F47f8666418cd38da2ff7625f02422b5e +0 -0
  20. data/test/dummy/tmp/cache/assets/D04/3C0/sprockets%2F29d763bd40cc25622b1f04b876a5c3e3 +0 -0
  21. data/test/dummy/tmp/cache/assets/D22/C90/sprockets%2Fe1a46318a188f29186cbe4f9d97792bb +0 -0
  22. data/test/dummy/tmp/cache/assets/D25/E70/sprockets%2Fb39f1d7ace7781584f2b27397c4d298d +0 -0
  23. data/test/dummy/tmp/cache/assets/D2D/410/sprockets%2F19d37b85ac2b8498758bdf8d08099e8b +0 -0
  24. data/test/dummy/tmp/cache/assets/D2D/8A0/sprockets%2F16702b2d73e90a918e2a03d40dd0fb6e +0 -0
  25. data/test/dummy/tmp/cache/assets/D34/0D0/sprockets%2F2e0e0061bc75f35b8665ee31f0af343f +0 -0
  26. data/test/dummy/tmp/cache/assets/D36/7D0/sprockets%2Ffc5ea6a588c4b2791581fdb35a30031d +0 -0
  27. data/test/dummy/tmp/cache/assets/D39/3D0/sprockets%2F744241c89d9c401d40d4ee5ad44a2f3f +0 -0
  28. data/test/dummy/tmp/cache/assets/D3F/FA0/sprockets%2F22c8366fdbaaa2872b202dfe7376629f +0 -0
  29. data/test/dummy/tmp/cache/assets/D44/700/sprockets%2Fd328468f953946d2e2bef62c4cb7cb01 +0 -0
  30. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  31. data/test/dummy/tmp/cache/assets/D5A/560/sprockets%2Fad87bf89db0c636d2899f3d47eb70838 +0 -0
  32. data/test/dummy/tmp/cache/assets/D5C/3F0/sprockets%2F67d5fd7ae45e04fd786ee67812769cb5 +0 -0
  33. data/test/dummy/tmp/cache/assets/D63/540/sprockets%2F40806eccd4be04b3c3fa44d23576e18d +0 -0
  34. data/test/dummy/tmp/cache/assets/D63/C70/sprockets%2F382f45c06aa1f72aea7048fd474bbc33 +0 -0
  35. data/test/dummy/tmp/cache/assets/D70/0D0/sprockets%2F75765d3bfee9346a60198cbb8cdad102 +0 -0
  36. data/test/dummy/tmp/cache/assets/D73/760/sprockets%2F4e1d706de9dc13479c028238faea6ff2 +0 -0
  37. data/test/dummy/tmp/cache/assets/D74/A80/sprockets%2F89c4c5e2f034b736d5e839adfe7012db +0 -0
  38. data/test/dummy/tmp/cache/assets/D91/080/sprockets%2Fbcca522c6302f184f12fe0e8a7d7e71a +0 -0
  39. data/test/dummy/tmp/cache/assets/D9F/300/sprockets%2Fc13fc73ceafa45876a901b3e775b83ae +0 -0
  40. data/test/dummy/tmp/cache/assets/DB6/FE0/sprockets%2F1446b4accb510daee592aa8f34b03d2e +0 -0
  41. data/test/dummy/tmp/cache/assets/DB9/250/sprockets%2F15de37cf628d966fd377f94afbffe244 +0 -0
  42. data/test/dummy/tmp/cache/assets/DC1/D20/sprockets%2Fd6edb12fc70021e8ada656d316e0cd8d +0 -0
  43. data/test/dummy/tmp/cache/assets/DC7/8B0/sprockets%2Fc57aff8fcaace116023b4ae45c88138c +0 -0
  44. data/test/dummy/tmp/cache/assets/DCD/540/sprockets%2F81dd0cb0661e7e9725d4cecb2ea2e9d5 +0 -0
  45. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  46. data/test/dummy/tmp/cache/assets/DFC/550/sprockets%2Fc63af852c0f9cc4aa6a7dd59d74ab0a9 +0 -0
  47. data/test/dummy/tmp/cache/assets/DFF/EA0/sprockets%2Fc05f92ff4e2fa5eadcfe9d3d151047f3 +0 -0
  48. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  49. data/test/dummy/tmp/cache/assets/E2A/B40/sprockets%2F591e8bae8cab045e0af3ce80e3fa7ad9 +0 -0
  50. data/test/dummy/tmp/cache/assets/E30/FF0/sprockets%2F33f27cfaa7bec6fcb98ce5163c2d5c5d +0 -0
  51. data/test/dummy/tmp/cache/assets/E3A/D90/sprockets%2Fce0dbefdb4416ebc42589ecdbf7d7857 +0 -0
  52. data/test/dummy/tmp/cache/sass/73d26439e044eca0a3af4a431659ef4346a1c77c/application.css.scssc +0 -0
  53. data/test/dummy/tmp/cache/sass/73d26439e044eca0a3af4a431659ef4346a1c77c/individual.css.scssc +0 -0
  54. data/test/dummy/tmp/cache/sass/73d26439e044eca0a3af4a431659ef4346a1c77c/no-sprites.css.scssc +0 -0
  55. data/test/dummy/tmp/cache/sass/97a2fe4b4206536e366a73e1378c8e4d6acfc29d/bootstrap-no-sprites.css.scssc +0 -0
  56. data/test/dummy/tmp/cache/sass/97a2fe4b4206536e366a73e1378c8e4d6acfc29d/bootstrap.css.scssc +0 -0
  57. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_accordion.scssc +0 -0
  58. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_alerts.scssc +0 -0
  59. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_breadcrumbs.scssc +0 -0
  60. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_button-groups.scssc +0 -0
  61. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_buttons.scssc +0 -0
  62. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_carousel.scssc +0 -0
  63. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_close.scssc +0 -0
  64. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_code.scssc +0 -0
  65. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_component-animations.scssc +0 -0
  66. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_dropdowns.scssc +0 -0
  67. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_forms.scssc +0 -0
  68. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_grid.scssc +0 -0
  69. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_hero-unit.scssc +0 -0
  70. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_labels-badges.scssc +0 -0
  71. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_layouts.scssc +0 -0
  72. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_media.scssc +0 -0
  73. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_mixins.scssc +0 -0
  74. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_modals.scssc +0 -0
  75. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_navbar.scssc +0 -0
  76. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_navs.scssc +0 -0
  77. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_pager.scssc +0 -0
  78. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_pagination.scssc +0 -0
  79. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_popovers.scssc +0 -0
  80. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_progress-bars.scssc +0 -0
  81. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_reset.scssc +0 -0
  82. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_responsive-1200px-min.scssc +0 -0
  83. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_responsive-767px-max.scssc +0 -0
  84. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_responsive-768px-979px.scssc +0 -0
  85. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_responsive-navbar.scssc +0 -0
  86. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_responsive-utilities.scssc +0 -0
  87. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_responsive.scssc +0 -0
  88. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_scaffolding.scssc +0 -0
  89. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_sprites.scssc +0 -0
  90. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_tables.scssc +0 -0
  91. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_thumbnails.scssc +0 -0
  92. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_tooltip.scssc +0 -0
  93. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_type.scssc +0 -0
  94. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_utilities.scssc +0 -0
  95. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_variables.scssc +0 -0
  96. data/test/dummy/tmp/cache/sass/c8ed6f9b68f3f4e8d1dc3308fd9d722018ffc99c/_wells.scssc +0 -0
  97. data/vendor/assets/javascripts/twitter/bootstrap/affix.js +1 -1
  98. data/vendor/assets/javascripts/twitter/bootstrap/alert.js +1 -1
  99. data/vendor/assets/javascripts/twitter/bootstrap/button.js +1 -1
  100. data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +31 -9
  101. data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +4 -4
  102. data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +14 -10
  103. data/vendor/assets/javascripts/twitter/bootstrap/modal.js +13 -11
  104. data/vendor/assets/javascripts/twitter/bootstrap/popover.js +5 -5
  105. data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +2 -2
  106. data/vendor/assets/javascripts/twitter/bootstrap/tab.js +1 -1
  107. data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +95 -29
  108. data/vendor/assets/javascripts/twitter/bootstrap/transition.js +1 -1
  109. data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +16 -4
  110. data/vendor/assets/stylesheets/twitter/bootstrap-no-sprites.css.scss +1 -1
  111. data/vendor/assets/stylesheets/twitter/bootstrap.css.scss +1 -1
  112. data/vendor/assets/stylesheets/twitter/bootstrap/_button-groups.scss +4 -2
  113. data/vendor/assets/stylesheets/twitter/bootstrap/_buttons.scss +8 -10
  114. data/vendor/assets/stylesheets/twitter/bootstrap/_carousel.scss +34 -7
  115. data/vendor/assets/stylesheets/twitter/bootstrap/_close.scss +2 -1
  116. data/vendor/assets/stylesheets/twitter/bootstrap/_dropdowns.scss +16 -12
  117. data/vendor/assets/stylesheets/twitter/bootstrap/_forms.scss +5 -9
  118. data/vendor/assets/stylesheets/twitter/bootstrap/_labels-badges.scss +4 -2
  119. data/vendor/assets/stylesheets/twitter/bootstrap/_media.scss +2 -2
  120. data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.scss +17 -4
  121. data/vendor/assets/stylesheets/twitter/bootstrap/_navbar.scss +20 -13
  122. data/vendor/assets/stylesheets/twitter/bootstrap/_navs.scss +33 -18
  123. data/vendor/assets/stylesheets/twitter/bootstrap/_pager.scss +3 -1
  124. data/vendor/assets/stylesheets/twitter/bootstrap/_pagination.scss +3 -1
  125. data/vendor/assets/stylesheets/twitter/bootstrap/_popovers.scss +5 -1
  126. data/vendor/assets/stylesheets/twitter/bootstrap/_reset.scss +0 -1
  127. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-767px-max.scss +0 -1
  128. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-navbar.scss +6 -2
  129. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +17 -0
  130. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive.scss +1 -10
  131. data/vendor/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +2 -1
  132. data/vendor/assets/stylesheets/twitter/bootstrap/_sprites.scss +7 -3
  133. data/vendor/assets/stylesheets/twitter/bootstrap/_tables.scss +26 -19
  134. data/vendor/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +3 -2
  135. data/vendor/assets/stylesheets/twitter/bootstrap/_tooltip.scss +6 -6
  136. data/vendor/assets/stylesheets/twitter/bootstrap/_type.scss +19 -7
  137. data/vendor/assets/stylesheets/twitter/bootstrap/_variables.scss +1 -1
  138. metadata +4 -6
  139. data/test/cases/less_to_sass_spec.rb +0 -31
data/README.md CHANGED
@@ -68,6 +68,31 @@ within `.css.scss` files.
68
68
  @include myButton(10px);
69
69
  }
70
70
  ```
71
+ ### Responsive styles
72
+
73
+ Adding the responsive styles included with Twitter Bootstrap to your project is just as easy.
74
+ Depending on the way you chose to include the base bootstrap styles you need to do one of the following:
75
+
76
+ Importing the responsive partial using the Sass `@import` directive in a `.scss` file:
77
+
78
+ ```scss
79
+ @import 'twitter/bootstrap';
80
+ @import 'twitter/bootstrap/responsive';
81
+ ```
82
+
83
+ Using `=require` to include the responsive partial in a `.css` file (watch the underscore in the partial name!):
84
+ ```css
85
+ /*
86
+ *= require twitter/bootstrap
87
+ *= require twitter/bootstrap/_responsive
88
+ */
89
+ ```
90
+
91
+ Using `=require` to include the responsive partial in a `.scss` file (watch the underscore in the partial name!):
92
+ ```scss
93
+ #= require twitter/bootstrap
94
+ #= require twitter/bootstrap/_responsive
95
+ ```
71
96
 
72
97
  ### Icon Fonts
73
98
 
@@ -1,7 +1,7 @@
1
1
  module Bootstrap
2
2
  module Sass
3
3
  module Rails
4
- VERSION = '2.2.2.1'
4
+ VERSION = '2.3.0.0'
5
5
  end
6
6
  end
7
7
  end
@@ -3161,145 +3161,3 @@ Compiled individual.css (253ms) (pid 95725)
3161
3161
  Compiled no-sprites.css (784ms) (pid 95725)
3162
3162
  Compiled twitter/bootstrap.css (1021ms) (pid 95725)
3163
3163
  Compiled sprockets.css (1028ms) (pid 95725)
3164
- Compiled application.css (984ms) (pid 31846)
3165
- Compiled twitter/bootstrap/transition.js (0ms) (pid 31846)
3166
- Compiled twitter/bootstrap/alert.js (0ms) (pid 31846)
3167
- Compiled twitter/bootstrap/button.js (0ms) (pid 31846)
3168
- Compiled twitter/bootstrap/carousel.js (0ms) (pid 31846)
3169
- Compiled twitter/bootstrap/collapse.js (0ms) (pid 31846)
3170
- Compiled twitter/bootstrap/dropdown.js (0ms) (pid 31846)
3171
- Compiled twitter/bootstrap/modal.js (0ms) (pid 31846)
3172
- Compiled twitter/bootstrap/tooltip.js (0ms) (pid 31846)
3173
- Compiled twitter/bootstrap/popover.js (0ms) (pid 31846)
3174
- Compiled twitter/bootstrap/scrollspy.js (0ms) (pid 31846)
3175
- Compiled twitter/bootstrap/tab.js (0ms) (pid 31846)
3176
- Compiled twitter/bootstrap/typeahead.js (1ms) (pid 31846)
3177
- Compiled twitter/bootstrap/affix.js (0ms) (pid 31846)
3178
- Compiled twitter/bootstrap.js (92ms) (pid 31846)
3179
- Compiled application.js (98ms) (pid 31846)
3180
- Compiled individual.js (2ms) (pid 31846)
3181
- Compiled individual.css (221ms) (pid 31846)
3182
- Compiled no-sprites.css (756ms) (pid 31846)
3183
- Compiled twitter/bootstrap.css (922ms) (pid 31846)
3184
- Compiled sprockets.css (933ms) (pid 31846)
3185
- Compiled application.css (1741ms) (pid 10941)
3186
- Compiled twitter/bootstrap/transition.js (0ms) (pid 10941)
3187
- Compiled twitter/bootstrap/alert.js (0ms) (pid 10941)
3188
- Compiled twitter/bootstrap/button.js (0ms) (pid 10941)
3189
- Compiled twitter/bootstrap/carousel.js (12ms) (pid 10941)
3190
- Compiled twitter/bootstrap/collapse.js (0ms) (pid 10941)
3191
- Compiled twitter/bootstrap/dropdown.js (0ms) (pid 10941)
3192
- Compiled twitter/bootstrap/modal.js (0ms) (pid 10941)
3193
- Compiled twitter/bootstrap/tooltip.js (0ms) (pid 10941)
3194
- Compiled twitter/bootstrap/popover.js (0ms) (pid 10941)
3195
- Compiled twitter/bootstrap/scrollspy.js (0ms) (pid 10941)
3196
- Compiled twitter/bootstrap/tab.js (0ms) (pid 10941)
3197
- Compiled twitter/bootstrap/typeahead.js (0ms) (pid 10941)
3198
- Compiled twitter/bootstrap/affix.js (0ms) (pid 10941)
3199
- Compiled twitter/bootstrap.js (62ms) (pid 10941)
3200
- Compiled application.js (68ms) (pid 10941)
3201
- Compiled individual.js (2ms) (pid 10941)
3202
- Compiled individual.css (330ms) (pid 10941)
3203
- Compiled no-sprites.css (758ms) (pid 10941)
3204
- Compiled twitter/bootstrap.css (931ms) (pid 10941)
3205
- Compiled sprockets.css (952ms) (pid 10941)
3206
- Compiled application.css (838ms) (pid 10998)
3207
- Compiled twitter/bootstrap/transition.js (0ms) (pid 10998)
3208
- Compiled twitter/bootstrap/alert.js (0ms) (pid 10998)
3209
- Compiled twitter/bootstrap/button.js (0ms) (pid 10998)
3210
- Compiled twitter/bootstrap/carousel.js (0ms) (pid 10998)
3211
- Compiled twitter/bootstrap/collapse.js (0ms) (pid 10998)
3212
- Compiled twitter/bootstrap/dropdown.js (0ms) (pid 10998)
3213
- Compiled twitter/bootstrap/modal.js (0ms) (pid 10998)
3214
- Compiled twitter/bootstrap/tooltip.js (0ms) (pid 10998)
3215
- Compiled twitter/bootstrap/popover.js (0ms) (pid 10998)
3216
- Compiled twitter/bootstrap/scrollspy.js (0ms) (pid 10998)
3217
- Compiled twitter/bootstrap/tab.js (0ms) (pid 10998)
3218
- Compiled twitter/bootstrap/typeahead.js (0ms) (pid 10998)
3219
- Compiled twitter/bootstrap/affix.js (0ms) (pid 10998)
3220
- Compiled twitter/bootstrap.js (45ms) (pid 10998)
3221
- Compiled application.js (50ms) (pid 10998)
3222
- Compiled individual.js (2ms) (pid 10998)
3223
- Compiled individual.css (227ms) (pid 10998)
3224
- Compiled no-sprites.css (742ms) (pid 10998)
3225
- Compiled twitter/bootstrap.css (924ms) (pid 10998)
3226
- Compiled sprockets.css (930ms) (pid 10998)
3227
- Compiled application.css (954ms) (pid 11243)
3228
- Compiled twitter/bootstrap/transition.js (0ms) (pid 11243)
3229
- Compiled twitter/bootstrap/alert.js (0ms) (pid 11243)
3230
- Compiled twitter/bootstrap/button.js (0ms) (pid 11243)
3231
- Compiled twitter/bootstrap/carousel.js (0ms) (pid 11243)
3232
- Compiled twitter/bootstrap/collapse.js (0ms) (pid 11243)
3233
- Compiled twitter/bootstrap/dropdown.js (0ms) (pid 11243)
3234
- Compiled twitter/bootstrap/modal.js (0ms) (pid 11243)
3235
- Compiled twitter/bootstrap/tooltip.js (0ms) (pid 11243)
3236
- Compiled twitter/bootstrap/popover.js (0ms) (pid 11243)
3237
- Compiled twitter/bootstrap/scrollspy.js (0ms) (pid 11243)
3238
- Compiled twitter/bootstrap/tab.js (0ms) (pid 11243)
3239
- Compiled twitter/bootstrap/typeahead.js (0ms) (pid 11243)
3240
- Compiled twitter/bootstrap/affix.js (0ms) (pid 11243)
3241
- Compiled twitter/bootstrap.js (45ms) (pid 11243)
3242
- Compiled application.js (52ms) (pid 11243)
3243
- Compiled individual.js (2ms) (pid 11243)
3244
- Compiled individual.css (233ms) (pid 11243)
3245
- Compiled no-sprites.css (747ms) (pid 11243)
3246
- Compiled twitter/bootstrap.css (936ms) (pid 11243)
3247
- Compiled sprockets.css (942ms) (pid 11243)
3248
- Compiled application.css (836ms) (pid 11300)
3249
- Compiled twitter/bootstrap/transition.js (0ms) (pid 11300)
3250
- Compiled twitter/bootstrap/alert.js (0ms) (pid 11300)
3251
- Compiled twitter/bootstrap/button.js (0ms) (pid 11300)
3252
- Compiled twitter/bootstrap/carousel.js (0ms) (pid 11300)
3253
- Compiled twitter/bootstrap/collapse.js (0ms) (pid 11300)
3254
- Compiled twitter/bootstrap/dropdown.js (0ms) (pid 11300)
3255
- Compiled twitter/bootstrap/modal.js (0ms) (pid 11300)
3256
- Compiled twitter/bootstrap/tooltip.js (0ms) (pid 11300)
3257
- Compiled twitter/bootstrap/popover.js (0ms) (pid 11300)
3258
- Compiled twitter/bootstrap/scrollspy.js (0ms) (pid 11300)
3259
- Compiled twitter/bootstrap/tab.js (0ms) (pid 11300)
3260
- Compiled twitter/bootstrap/typeahead.js (0ms) (pid 11300)
3261
- Compiled twitter/bootstrap/affix.js (0ms) (pid 11300)
3262
- Compiled twitter/bootstrap.js (73ms) (pid 11300)
3263
- Compiled application.js (78ms) (pid 11300)
3264
- Compiled individual.js (3ms) (pid 11300)
3265
- Compiled individual.css (229ms) (pid 11300)
3266
- Compiled no-sprites.css (752ms) (pid 11300)
3267
- Compiled twitter/bootstrap.css (938ms) (pid 11300)
3268
- Compiled sprockets.css (944ms) (pid 11300)
3269
- Compiled twitter/bootstrap/transition.js (0ms) (pid 11394)
3270
- Compiled twitter/bootstrap/alert.js (0ms) (pid 11394)
3271
- Compiled twitter/bootstrap/button.js (0ms) (pid 11394)
3272
- Compiled twitter/bootstrap/carousel.js (0ms) (pid 11394)
3273
- Compiled twitter/bootstrap/collapse.js (0ms) (pid 11394)
3274
- Compiled twitter/bootstrap/dropdown.js (0ms) (pid 11394)
3275
- Compiled twitter/bootstrap/modal.js (0ms) (pid 11394)
3276
- Compiled twitter/bootstrap/tooltip.js (22ms) (pid 11394)
3277
- Compiled twitter/bootstrap/popover.js (0ms) (pid 11394)
3278
- Compiled twitter/bootstrap/scrollspy.js (0ms) (pid 11394)
3279
- Compiled twitter/bootstrap/tab.js (0ms) (pid 11394)
3280
- Compiled twitter/bootstrap/typeahead.js (0ms) (pid 11394)
3281
- Compiled twitter/bootstrap/affix.js (0ms) (pid 11394)
3282
- Compiled twitter/bootstrap.js (66ms) (pid 11394)
3283
- Compiled application.js (71ms) (pid 11394)
3284
- Compiled individual.js (2ms) (pid 11394)
3285
- Compiled application.css (1552ms) (pid 14362)
3286
- Compiled twitter/bootstrap/transition.js (0ms) (pid 14362)
3287
- Compiled twitter/bootstrap/alert.js (0ms) (pid 14362)
3288
- Compiled twitter/bootstrap/button.js (0ms) (pid 14362)
3289
- Compiled twitter/bootstrap/carousel.js (0ms) (pid 14362)
3290
- Compiled twitter/bootstrap/collapse.js (0ms) (pid 14362)
3291
- Compiled twitter/bootstrap/dropdown.js (0ms) (pid 14362)
3292
- Compiled twitter/bootstrap/modal.js (0ms) (pid 14362)
3293
- Compiled twitter/bootstrap/tooltip.js (0ms) (pid 14362)
3294
- Compiled twitter/bootstrap/popover.js (0ms) (pid 14362)
3295
- Compiled twitter/bootstrap/scrollspy.js (0ms) (pid 14362)
3296
- Compiled twitter/bootstrap/tab.js (0ms) (pid 14362)
3297
- Compiled twitter/bootstrap/typeahead.js (0ms) (pid 14362)
3298
- Compiled twitter/bootstrap/affix.js (0ms) (pid 14362)
3299
- Compiled twitter/bootstrap.js (48ms) (pid 14362)
3300
- Compiled application.js (54ms) (pid 14362)
3301
- Compiled individual.js (2ms) (pid 14362)
3302
- Compiled individual.css (300ms) (pid 14362)
3303
- Compiled no-sprites.css (764ms) (pid 14362)
3304
- Compiled twitter/bootstrap.css (926ms) (pid 14362)
3305
- Compiled sprockets.css (932ms) (pid 14362)
@@ -1,5 +1,5 @@
1
1
  /* ==========================================================
2
- * bootstrap-affix.js v2.2.2
2
+ * bootstrap-affix.js v2.3.0
3
3
  * http://twitter.github.com/bootstrap/javascript.html#affix
4
4
  * ==========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ==========================================================
2
- * bootstrap-alert.js v2.2.2
2
+ * bootstrap-alert.js v2.3.0
3
3
  * http://twitter.github.com/bootstrap/javascript.html#alerts
4
4
  * ==========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ============================================================
2
- * bootstrap-button.js v2.2.2
2
+ * bootstrap-button.js v2.3.0
3
3
  * http://twitter.github.com/bootstrap/javascript.html#buttons
4
4
  * ============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ==========================================================
2
- * bootstrap-carousel.js v2.2.2
2
+ * bootstrap-carousel.js v2.3.0
3
3
  * http://twitter.github.com/bootstrap/javascript.html#carousel
4
4
  * ==========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -28,6 +28,7 @@
28
28
 
29
29
  var Carousel = function (element, options) {
30
30
  this.$element = $(element)
31
+ this.$indicators = this.$element.find('.carousel-indicators')
31
32
  this.options = options
32
33
  this.options.pause == 'hover' && this.$element
33
34
  .on('mouseenter', $.proxy(this.pause, this))
@@ -38,19 +39,24 @@
38
39
 
39
40
  cycle: function (e) {
40
41
  if (!e) this.paused = false
42
+ if (this.interval) clearInterval(this.interval);
41
43
  this.options.interval
42
44
  && !this.paused
43
45
  && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
44
46
  return this
45
47
  }
46
48
 
49
+ , getActiveIndex: function () {
50
+ this.$active = this.$element.find('.item.active')
51
+ this.$items = this.$active.parent().children()
52
+ return this.$items.index(this.$active)
53
+ }
54
+
47
55
  , to: function (pos) {
48
- var $active = this.$element.find('.item.active')
49
- , children = $active.parent().children()
50
- , activePos = children.index($active)
56
+ var activeIndex = this.getActiveIndex()
51
57
  , that = this
52
58
 
53
- if (pos > (children.length - 1) || pos < 0) return
59
+ if (pos > (this.$items.length - 1) || pos < 0) return
54
60
 
55
61
  if (this.sliding) {
56
62
  return this.$element.one('slid', function () {
@@ -58,11 +64,11 @@
58
64
  })
59
65
  }
60
66
 
61
- if (activePos == pos) {
67
+ if (activeIndex == pos) {
62
68
  return this.pause().cycle()
63
69
  }
64
70
 
65
- return this.slide(pos > activePos ? 'next' : 'prev', $(children[pos]))
71
+ return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
66
72
  }
67
73
 
68
74
  , pause: function (e) {
@@ -103,10 +109,19 @@
103
109
 
104
110
  e = $.Event('slide', {
105
111
  relatedTarget: $next[0]
112
+ , direction: direction
106
113
  })
107
114
 
108
115
  if ($next.hasClass('active')) return
109
116
 
117
+ if (this.$indicators.length) {
118
+ this.$indicators.find('.active').removeClass('active')
119
+ this.$element.one('slid', function () {
120
+ var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
121
+ $nextIndicator && $nextIndicator.addClass('active')
122
+ })
123
+ }
124
+
110
125
  if ($.support.transition && this.$element.hasClass('slide')) {
111
126
  this.$element.trigger(e)
112
127
  if (e.isDefaultPrevented()) return
@@ -151,7 +166,7 @@
151
166
  if (!data) $this.data('carousel', (data = new Carousel(this, options)))
152
167
  if (typeof option == 'number') data.to(option)
153
168
  else if (action) data[action]()
154
- else if (options.interval) data.cycle()
169
+ else if (options.interval) data.pause().cycle()
155
170
  })
156
171
  }
157
172
 
@@ -174,11 +189,18 @@
174
189
  /* CAROUSEL DATA-API
175
190
  * ================= */
176
191
 
177
- $(document).on('click.carousel.data-api', '[data-slide]', function (e) {
192
+ $(document).on('click.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
178
193
  var $this = $(this), href
179
194
  , $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
180
195
  , options = $.extend({}, $target.data(), $this.data())
196
+ , slideIndex
197
+
181
198
  $target.carousel(options)
199
+
200
+ if (slideIndex = $this.attr('data-slide-to')) {
201
+ $target.data('carousel').pause().to(slideIndex).cycle()
202
+ }
203
+
182
204
  e.preventDefault()
183
205
  })
184
206