foundation-rails 5.5.3.2 → 6.6.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (369) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +2 -2
  3. data/.ruby-version +1 -1
  4. data/.travis.yml +17 -4
  5. data/Appraisals +19 -0
  6. data/Gemfile +5 -2
  7. data/Gemfile.lock +210 -0
  8. data/LICENSE.txt +1 -1
  9. data/README.md +64 -28
  10. data/Rakefile +30 -0
  11. data/app/views/foundation/rails/styleguide/show.html.erb +10 -13
  12. data/bower.json +3 -2
  13. data/foundation-rails.gemspec +12 -7
  14. data/gemfiles/rails_4.1.gemfile +10 -0
  15. data/gemfiles/rails_4.1.gemfile.lock +181 -0
  16. data/gemfiles/rails_4.2.gemfile +10 -0
  17. data/gemfiles/rails_4.2.gemfile.lock +181 -0
  18. data/gemfiles/rails_5.0.gemfile +10 -0
  19. data/gemfiles/rails_5.0.gemfile.lock +196 -0
  20. data/gemfiles/rails_5.1.gemfile +10 -0
  21. data/gemfiles/rails_5.1.gemfile.lock +196 -0
  22. data/gemfiles/rails_5.2.gemfile +10 -0
  23. data/gemfiles/rails_5.2.gemfile.lock +196 -0
  24. data/lib/foundation/rails/engine.rb +2 -3
  25. data/lib/foundation/rails/version.rb +1 -1
  26. data/lib/foundation-rails.rb +1 -0
  27. data/lib/generators/foundation/install_generator.rb +39 -27
  28. data/lib/generators/foundation/templates/_settings.scss +895 -0
  29. data/lib/generators/foundation/templates/application.html.erb +1 -2
  30. data/lib/generators/foundation/templates/application.html.haml +2 -4
  31. data/lib/generators/foundation/templates/application.html.slim +1 -3
  32. data/lib/generators/foundation/templates/browserslist +4 -0
  33. data/lib/generators/foundation/templates/foundation_and_overrides.scss +56 -0
  34. data/spec/features/generator_spec.rb +1 -1
  35. data/spec/support/helpers.rb +8 -2
  36. data/vendor/assets/_vendor/sassy-lists/stylesheets/functions/_contain.scss +31 -0
  37. data/vendor/assets/_vendor/sassy-lists/stylesheets/functions/_purge.scss +38 -0
  38. data/vendor/assets/_vendor/sassy-lists/stylesheets/functions/_remove.scss +31 -0
  39. data/vendor/assets/_vendor/sassy-lists/stylesheets/functions/_replace.scss +46 -0
  40. data/vendor/assets/_vendor/sassy-lists/stylesheets/functions/_to-list.scss +27 -0
  41. data/vendor/assets/_vendor/sassy-lists/stylesheets/helpers/_missing-dependencies.scss +25 -0
  42. data/vendor/assets/_vendor/sassy-lists/stylesheets/helpers/_true.scss +13 -0
  43. data/vendor/assets/js/foundation.cjs.js +12529 -0
  44. data/vendor/assets/js/foundation.cjs.js.map +1 -0
  45. data/vendor/assets/js/foundation.es6.js +11006 -0
  46. data/vendor/assets/js/foundation.es6.js.map +1 -0
  47. data/vendor/assets/js/foundation.esm.js +12490 -0
  48. data/vendor/assets/js/foundation.esm.js.map +1 -0
  49. data/vendor/assets/js/foundation.js +13897 -0
  50. data/vendor/assets/js/foundation.js.map +1 -0
  51. data/vendor/assets/js/foundation.min.js +2 -0
  52. data/vendor/assets/js/foundation.min.js.map +1 -0
  53. data/vendor/assets/js/plugins/foundation.abide.js +1142 -0
  54. data/vendor/assets/js/plugins/foundation.abide.js.map +1 -0
  55. data/vendor/assets/js/plugins/foundation.abide.min.js +2 -0
  56. data/vendor/assets/js/plugins/foundation.abide.min.js.map +1 -0
  57. data/vendor/assets/js/plugins/foundation.accordion.js +661 -0
  58. data/vendor/assets/js/plugins/foundation.accordion.js.map +1 -0
  59. data/vendor/assets/js/plugins/foundation.accordion.min.js +2 -0
  60. data/vendor/assets/js/plugins/foundation.accordion.min.js.map +1 -0
  61. data/vendor/assets/js/plugins/foundation.accordionMenu.js +616 -0
  62. data/vendor/assets/js/plugins/foundation.accordionMenu.js.map +1 -0
  63. data/vendor/assets/js/plugins/foundation.accordionMenu.min.js +2 -0
  64. data/vendor/assets/js/plugins/foundation.accordionMenu.min.js.map +1 -0
  65. data/vendor/assets/js/plugins/foundation.core.js +1180 -0
  66. data/vendor/assets/js/plugins/foundation.core.js.map +1 -0
  67. data/vendor/assets/js/plugins/foundation.core.min.js +2 -0
  68. data/vendor/assets/js/plugins/foundation.core.min.js.map +1 -0
  69. data/vendor/assets/js/plugins/foundation.drilldown.js +968 -0
  70. data/vendor/assets/js/plugins/foundation.drilldown.js.map +1 -0
  71. data/vendor/assets/js/plugins/foundation.drilldown.min.js +2 -0
  72. data/vendor/assets/js/plugins/foundation.drilldown.min.js.map +1 -0
  73. data/vendor/assets/js/plugins/foundation.dropdown.js +1328 -0
  74. data/vendor/assets/js/plugins/foundation.dropdown.js.map +1 -0
  75. data/vendor/assets/js/plugins/foundation.dropdown.min.js +2 -0
  76. data/vendor/assets/js/plugins/foundation.dropdown.min.js.map +1 -0
  77. data/vendor/assets/js/plugins/foundation.dropdownMenu.js +799 -0
  78. data/vendor/assets/js/plugins/foundation.dropdownMenu.js.map +1 -0
  79. data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js +2 -0
  80. data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js.map +1 -0
  81. data/vendor/assets/js/plugins/foundation.equalizer.js +614 -0
  82. data/vendor/assets/js/plugins/foundation.equalizer.js.map +1 -0
  83. data/vendor/assets/js/plugins/foundation.equalizer.min.js +2 -0
  84. data/vendor/assets/js/plugins/foundation.equalizer.min.js.map +1 -0
  85. data/vendor/assets/js/plugins/foundation.interchange.js +796 -0
  86. data/vendor/assets/js/plugins/foundation.interchange.js.map +1 -0
  87. data/vendor/assets/js/plugins/foundation.interchange.min.js +2 -0
  88. data/vendor/assets/js/plugins/foundation.interchange.min.js.map +1 -0
  89. data/vendor/assets/js/plugins/foundation.magellan.js +850 -0
  90. data/vendor/assets/js/plugins/foundation.magellan.js.map +1 -0
  91. data/vendor/assets/js/plugins/foundation.magellan.min.js +2 -0
  92. data/vendor/assets/js/plugins/foundation.magellan.min.js.map +1 -0
  93. data/vendor/assets/js/plugins/foundation.offcanvas.js +1318 -0
  94. data/vendor/assets/js/plugins/foundation.offcanvas.js.map +1 -0
  95. data/vendor/assets/js/plugins/foundation.offcanvas.min.js +2 -0
  96. data/vendor/assets/js/plugins/foundation.offcanvas.min.js.map +1 -0
  97. data/vendor/assets/js/plugins/foundation.orbit.js +886 -0
  98. data/vendor/assets/js/plugins/foundation.orbit.js.map +1 -0
  99. data/vendor/assets/js/plugins/foundation.orbit.min.js +2 -0
  100. data/vendor/assets/js/plugins/foundation.orbit.min.js.map +1 -0
  101. data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js +585 -0
  102. data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js.map +1 -0
  103. data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js +2 -0
  104. data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js.map +1 -0
  105. data/vendor/assets/js/plugins/foundation.responsiveMenu.js +413 -0
  106. data/vendor/assets/js/plugins/foundation.responsiveMenu.js.map +1 -0
  107. data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js +2 -0
  108. data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js.map +1 -0
  109. data/vendor/assets/js/plugins/foundation.responsiveToggle.js +394 -0
  110. data/vendor/assets/js/plugins/foundation.responsiveToggle.js.map +1 -0
  111. data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js +2 -0
  112. data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js.map +1 -0
  113. data/vendor/assets/js/plugins/foundation.reveal.js +1275 -0
  114. data/vendor/assets/js/plugins/foundation.reveal.js.map +1 -0
  115. data/vendor/assets/js/plugins/foundation.reveal.min.js +2 -0
  116. data/vendor/assets/js/plugins/foundation.reveal.min.js.map +1 -0
  117. data/vendor/assets/js/plugins/foundation.slider.js +1346 -0
  118. data/vendor/assets/js/plugins/foundation.slider.js.map +1 -0
  119. data/vendor/assets/js/plugins/foundation.slider.min.js +2 -0
  120. data/vendor/assets/js/plugins/foundation.slider.min.js.map +1 -0
  121. data/vendor/assets/js/plugins/foundation.smoothScroll.js +359 -0
  122. data/vendor/assets/js/plugins/foundation.smoothScroll.js.map +1 -0
  123. data/vendor/assets/js/plugins/foundation.smoothScroll.min.js +2 -0
  124. data/vendor/assets/js/plugins/foundation.smoothScroll.min.js.map +1 -0
  125. data/vendor/assets/js/plugins/foundation.sticky.js +1105 -0
  126. data/vendor/assets/js/plugins/foundation.sticky.js.map +1 -0
  127. data/vendor/assets/js/plugins/foundation.sticky.min.js +2 -0
  128. data/vendor/assets/js/plugins/foundation.sticky.min.js.map +1 -0
  129. data/vendor/assets/js/plugins/foundation.tabs.js +792 -0
  130. data/vendor/assets/js/plugins/foundation.tabs.js.map +1 -0
  131. data/vendor/assets/js/plugins/foundation.tabs.min.js +2 -0
  132. data/vendor/assets/js/plugins/foundation.tabs.min.js.map +1 -0
  133. data/vendor/assets/js/plugins/foundation.toggler.js +704 -0
  134. data/vendor/assets/js/plugins/foundation.toggler.js.map +1 -0
  135. data/vendor/assets/js/plugins/foundation.toggler.min.js +2 -0
  136. data/vendor/assets/js/plugins/foundation.toggler.min.js.map +1 -0
  137. data/vendor/assets/js/plugins/foundation.tooltip.js +1333 -0
  138. data/vendor/assets/js/plugins/foundation.tooltip.js.map +1 -0
  139. data/vendor/assets/js/plugins/foundation.tooltip.min.js +2 -0
  140. data/vendor/assets/js/plugins/foundation.tooltip.min.js.map +1 -0
  141. data/vendor/assets/js/plugins/foundation.util.box.js +354 -0
  142. data/vendor/assets/js/plugins/foundation.util.box.js.map +1 -0
  143. data/vendor/assets/js/plugins/foundation.util.box.min.js +2 -0
  144. data/vendor/assets/js/plugins/foundation.util.box.min.js.map +1 -0
  145. data/vendor/assets/js/plugins/foundation.util.imageLoader.js +218 -0
  146. data/vendor/assets/js/plugins/foundation.util.imageLoader.js.map +1 -0
  147. data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js +2 -0
  148. data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js.map +1 -0
  149. data/vendor/assets/js/plugins/foundation.util.keyboard.js +341 -0
  150. data/vendor/assets/js/plugins/foundation.util.keyboard.js.map +1 -0
  151. data/vendor/assets/js/plugins/foundation.util.keyboard.min.js +2 -0
  152. data/vendor/assets/js/plugins/foundation.util.keyboard.min.js.map +1 -0
  153. data/vendor/assets/js/plugins/foundation.util.mediaQuery.js +509 -0
  154. data/vendor/assets/js/plugins/foundation.util.mediaQuery.js.map +1 -0
  155. data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js +2 -0
  156. data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js.map +1 -0
  157. data/vendor/assets/js/plugins/foundation.util.motion.js +274 -0
  158. data/vendor/assets/js/plugins/foundation.util.motion.js.map +1 -0
  159. data/vendor/assets/js/plugins/foundation.util.motion.min.js +2 -0
  160. data/vendor/assets/js/plugins/foundation.util.motion.min.js.map +1 -0
  161. data/vendor/assets/js/plugins/foundation.util.nest.js +240 -0
  162. data/vendor/assets/js/plugins/foundation.util.nest.js.map +1 -0
  163. data/vendor/assets/js/plugins/foundation.util.nest.min.js +2 -0
  164. data/vendor/assets/js/plugins/foundation.util.nest.min.js.map +1 -0
  165. data/vendor/assets/js/plugins/foundation.util.timer.js +226 -0
  166. data/vendor/assets/js/plugins/foundation.util.timer.js.map +1 -0
  167. data/vendor/assets/js/plugins/foundation.util.timer.min.js +2 -0
  168. data/vendor/assets/js/plugins/foundation.util.timer.min.js.map +1 -0
  169. data/vendor/assets/js/plugins/foundation.util.touch.js +365 -0
  170. data/vendor/assets/js/plugins/foundation.util.touch.js.map +1 -0
  171. data/vendor/assets/js/plugins/foundation.util.touch.min.js +2 -0
  172. data/vendor/assets/js/plugins/foundation.util.touch.min.js.map +1 -0
  173. data/vendor/assets/js/plugins/foundation.util.triggers.js +470 -0
  174. data/vendor/assets/js/plugins/foundation.util.triggers.js.map +1 -0
  175. data/vendor/assets/js/plugins/foundation.util.triggers.min.js +2 -0
  176. data/vendor/assets/js/plugins/foundation.util.triggers.min.js.map +1 -0
  177. data/vendor/assets/scss/_global.scss +244 -0
  178. data/vendor/assets/scss/components/_accordion-menu.scss +174 -0
  179. data/vendor/assets/scss/components/_accordion.scss +164 -0
  180. data/vendor/assets/scss/components/_badge.scss +63 -0
  181. data/vendor/assets/scss/components/_breadcrumbs.scss +119 -0
  182. data/vendor/assets/scss/components/_button-group.scss +304 -0
  183. data/vendor/assets/scss/components/_button.scss +428 -0
  184. data/vendor/assets/scss/components/_callout.scss +108 -0
  185. data/vendor/assets/scss/components/_card.scss +129 -0
  186. data/vendor/assets/scss/components/_close-button.scss +127 -0
  187. data/vendor/assets/scss/components/_drilldown.scss +140 -0
  188. data/vendor/assets/scss/components/_dropdown-menu.scss +279 -0
  189. data/vendor/assets/scss/components/_dropdown.scss +82 -0
  190. data/vendor/assets/scss/components/_flex-video.scss +1 -0
  191. data/vendor/assets/scss/components/_flex.scss +119 -0
  192. data/vendor/assets/scss/components/_float.scss +27 -0
  193. data/vendor/assets/scss/components/_label.scss +64 -0
  194. data/vendor/assets/scss/components/_media-object.scss +114 -0
  195. data/vendor/assets/scss/components/_menu-icon.scss +9 -0
  196. data/vendor/assets/scss/components/_menu.scss +495 -0
  197. data/vendor/assets/scss/components/_off-canvas.scss +511 -0
  198. data/vendor/assets/scss/components/_orbit.scss +197 -0
  199. data/vendor/assets/scss/components/_pagination.scss +201 -0
  200. data/vendor/assets/scss/components/_progress-bar.scss +63 -0
  201. data/vendor/assets/scss/components/_responsive-embed.scss +57 -0
  202. data/vendor/assets/scss/components/_reveal.scss +185 -0
  203. data/vendor/assets/scss/components/_slider.scss +137 -0
  204. data/vendor/assets/scss/components/_sticky.scss +39 -0
  205. data/vendor/assets/scss/components/_switch.scss +261 -0
  206. data/vendor/assets/scss/components/_table.scss +328 -0
  207. data/vendor/assets/scss/components/_tabs.scss +193 -0
  208. data/vendor/assets/scss/components/_thumbnail.scss +67 -0
  209. data/vendor/assets/scss/components/_title-bar.scss +84 -0
  210. data/vendor/assets/scss/components/_tooltip.scss +160 -0
  211. data/vendor/assets/scss/components/_top-bar.scss +175 -0
  212. data/vendor/assets/scss/components/_visibility.scss +135 -0
  213. data/vendor/assets/scss/forms/_checkbox.scss +41 -0
  214. data/vendor/assets/scss/forms/_error.scss +89 -0
  215. data/vendor/assets/scss/forms/_fieldset.scss +53 -0
  216. data/vendor/assets/scss/forms/_forms.scss +34 -0
  217. data/vendor/assets/scss/forms/_help-text.scss +30 -0
  218. data/vendor/assets/scss/forms/_input-group.scss +142 -0
  219. data/vendor/assets/scss/forms/_label.scss +50 -0
  220. data/vendor/assets/scss/forms/_meter.scss +116 -0
  221. data/vendor/assets/scss/forms/_progress.scss +94 -0
  222. data/vendor/assets/scss/forms/_range.scss +149 -0
  223. data/vendor/assets/scss/forms/_select.scss +90 -0
  224. data/vendor/assets/scss/forms/_text.scss +179 -0
  225. data/vendor/assets/scss/foundation.scss +155 -0
  226. data/vendor/assets/scss/grid/_classes.scss +189 -0
  227. data/vendor/assets/scss/grid/_column.scss +78 -0
  228. data/vendor/assets/scss/grid/_flex-grid.scss +260 -0
  229. data/vendor/assets/scss/grid/_grid.scss +48 -0
  230. data/vendor/assets/scss/grid/_gutter.scss +67 -0
  231. data/vendor/assets/scss/grid/_layout.scss +76 -0
  232. data/vendor/assets/scss/grid/_position.scss +100 -0
  233. data/vendor/assets/scss/grid/_row.scss +99 -0
  234. data/vendor/assets/scss/grid/_size.scss +24 -0
  235. data/vendor/assets/scss/motion-ui/_classes.scss +109 -0
  236. data/vendor/assets/scss/motion-ui/_settings.scss +62 -0
  237. data/vendor/assets/scss/motion-ui/effects/_fade.scss +29 -0
  238. data/vendor/assets/scss/motion-ui/effects/_hinge.scss +66 -0
  239. data/vendor/assets/scss/motion-ui/effects/_shake.scss +15 -0
  240. data/vendor/assets/scss/motion-ui/effects/_slide.scss +42 -0
  241. data/vendor/assets/scss/motion-ui/effects/_spin.scss +29 -0
  242. data/vendor/assets/scss/motion-ui/effects/_wiggle.scss +13 -0
  243. data/vendor/assets/scss/motion-ui/effects/_zoom.scss +15 -0
  244. data/vendor/assets/scss/motion-ui/motion-ui.scss +31 -0
  245. data/vendor/assets/scss/motion-ui/transitions/_fade.scss +30 -0
  246. data/vendor/assets/scss/motion-ui/transitions/_hinge.scss +44 -0
  247. data/vendor/assets/scss/motion-ui/transitions/_slide.scss +43 -0
  248. data/vendor/assets/scss/motion-ui/transitions/_spin.scss +40 -0
  249. data/vendor/assets/scss/motion-ui/transitions/_zoom.scss +41 -0
  250. data/vendor/assets/scss/motion-ui/util/_animation.scss +7 -0
  251. data/vendor/assets/scss/motion-ui/util/_args.scss +15 -0
  252. data/vendor/assets/scss/motion-ui/util/_function.scss +94 -0
  253. data/vendor/assets/scss/motion-ui/util/_keyframe.scss +136 -0
  254. data/vendor/assets/scss/motion-ui/util/_selector.scss +23 -0
  255. data/vendor/assets/scss/motion-ui/util/_series.scss +57 -0
  256. data/vendor/assets/scss/motion-ui/util/_string.scss +36 -0
  257. data/vendor/assets/scss/motion-ui/util/_transition.scss +45 -0
  258. data/vendor/assets/scss/motion-ui/util/_unit.scss +7 -0
  259. data/vendor/assets/scss/prototype/_arrow.scss +36 -0
  260. data/vendor/assets/scss/prototype/_border-box.scss +35 -0
  261. data/vendor/assets/scss/prototype/_border-none.scss +35 -0
  262. data/vendor/assets/scss/prototype/_bordered.scss +54 -0
  263. data/vendor/assets/scss/prototype/_box.scss +23 -0
  264. data/vendor/assets/scss/prototype/_display.scss +50 -0
  265. data/vendor/assets/scss/prototype/_font-styling.scss +95 -0
  266. data/vendor/assets/scss/prototype/_list-style-type.scss +95 -0
  267. data/vendor/assets/scss/prototype/_overflow.scss +72 -0
  268. data/vendor/assets/scss/prototype/_position.scss +114 -0
  269. data/vendor/assets/scss/prototype/_prototype.scss +87 -0
  270. data/vendor/assets/scss/prototype/_relation.scss +157 -0
  271. data/vendor/assets/scss/prototype/_rotate.scss +31 -0
  272. data/vendor/assets/scss/prototype/_rounded.scss +61 -0
  273. data/vendor/assets/scss/prototype/_separator.scss +96 -0
  274. data/vendor/assets/scss/prototype/_shadow.scss +43 -0
  275. data/vendor/assets/scss/prototype/_sizing.scss +73 -0
  276. data/vendor/assets/scss/prototype/_spacing.scss +179 -0
  277. data/vendor/assets/scss/prototype/_text-decoration.scss +48 -0
  278. data/vendor/assets/scss/prototype/_text-transformation.scss +48 -0
  279. data/vendor/assets/scss/prototype/_text-utilities.scss +88 -0
  280. data/vendor/assets/scss/settings/_settings.scss +895 -0
  281. data/vendor/assets/scss/typography/_alignment.scss +22 -0
  282. data/vendor/assets/scss/typography/_base.scss +474 -0
  283. data/vendor/assets/scss/typography/_helpers.scss +180 -0
  284. data/vendor/assets/scss/typography/_print.scss +96 -0
  285. data/vendor/assets/scss/typography/_typography.scss +26 -0
  286. data/vendor/assets/scss/util/_breakpoint.scss +435 -0
  287. data/vendor/assets/scss/util/_color.scss +139 -0
  288. data/vendor/assets/scss/util/_direction.scss +31 -0
  289. data/vendor/assets/scss/util/_flex.scss +90 -0
  290. data/vendor/assets/scss/util/_math.scss +147 -0
  291. data/vendor/assets/scss/util/_mixins.scss +373 -0
  292. data/vendor/assets/scss/util/_selector.scss +41 -0
  293. data/vendor/assets/scss/util/_typography.scss +26 -0
  294. data/vendor/assets/scss/util/_unit.scss +152 -0
  295. data/vendor/assets/scss/util/_util.scss +14 -0
  296. data/vendor/assets/scss/util/_value.scss +200 -0
  297. data/vendor/assets/scss/vendor/normalize.scss +281 -0
  298. data/vendor/assets/scss/xy-grid/_cell.scss +272 -0
  299. data/vendor/assets/scss/xy-grid/_classes.scss +493 -0
  300. data/vendor/assets/scss/xy-grid/_collapse.scss +75 -0
  301. data/vendor/assets/scss/xy-grid/_frame.scss +86 -0
  302. data/vendor/assets/scss/xy-grid/_grid.scss +37 -0
  303. data/vendor/assets/scss/xy-grid/_gutters.scss +45 -0
  304. data/vendor/assets/scss/xy-grid/_layout.scss +36 -0
  305. data/vendor/assets/scss/xy-grid/_position.scss +55 -0
  306. data/vendor/assets/scss/xy-grid/_xy-grid.scss +51 -0
  307. metadata +342 -83
  308. data/update-gem.sh +0 -20
  309. data/vendor/assets/javascripts/foundation/foundation.abide.js +0 -426
  310. data/vendor/assets/javascripts/foundation/foundation.accordion.js +0 -125
  311. data/vendor/assets/javascripts/foundation/foundation.alert.js +0 -43
  312. data/vendor/assets/javascripts/foundation/foundation.clearing.js +0 -586
  313. data/vendor/assets/javascripts/foundation/foundation.dropdown.js +0 -468
  314. data/vendor/assets/javascripts/foundation/foundation.equalizer.js +0 -104
  315. data/vendor/assets/javascripts/foundation/foundation.interchange.js +0 -360
  316. data/vendor/assets/javascripts/foundation/foundation.joyride.js +0 -935
  317. data/vendor/assets/javascripts/foundation/foundation.js +0 -732
  318. data/vendor/assets/javascripts/foundation/foundation.magellan.js +0 -214
  319. data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +0 -225
  320. data/vendor/assets/javascripts/foundation/foundation.orbit.js +0 -476
  321. data/vendor/assets/javascripts/foundation/foundation.reveal.js +0 -522
  322. data/vendor/assets/javascripts/foundation/foundation.slider.js +0 -296
  323. data/vendor/assets/javascripts/foundation/foundation.tab.js +0 -247
  324. data/vendor/assets/javascripts/foundation/foundation.tooltip.js +0 -348
  325. data/vendor/assets/javascripts/foundation/foundation.topbar.js +0 -458
  326. data/vendor/assets/javascripts/foundation.js +0 -17
  327. data/vendor/assets/javascripts/vendor/modernizr.js +0 -1406
  328. data/vendor/assets/stylesheets/foundation/_functions.scss +0 -156
  329. data/vendor/assets/stylesheets/foundation/_settings.scss +0 -1489
  330. data/vendor/assets/stylesheets/foundation/components/_accordion.scss +0 -161
  331. data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +0 -128
  332. data/vendor/assets/stylesheets/foundation/components/_block-grid.scss +0 -133
  333. data/vendor/assets/stylesheets/foundation/components/_breadcrumbs.scss +0 -132
  334. data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +0 -208
  335. data/vendor/assets/stylesheets/foundation/components/_buttons.scss +0 -261
  336. data/vendor/assets/stylesheets/foundation/components/_clearing.scss +0 -260
  337. data/vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss +0 -130
  338. data/vendor/assets/stylesheets/foundation/components/_dropdown.scss +0 -269
  339. data/vendor/assets/stylesheets/foundation/components/_flex-video.scss +0 -51
  340. data/vendor/assets/stylesheets/foundation/components/_forms.scss +0 -607
  341. data/vendor/assets/stylesheets/foundation/components/_global.scss +0 -566
  342. data/vendor/assets/stylesheets/foundation/components/_grid.scss +0 -292
  343. data/vendor/assets/stylesheets/foundation/components/_icon-bar.scss +0 -460
  344. data/vendor/assets/stylesheets/foundation/components/_inline-lists.scss +0 -58
  345. data/vendor/assets/stylesheets/foundation/components/_joyride.scss +0 -220
  346. data/vendor/assets/stylesheets/foundation/components/_keystrokes.scss +0 -60
  347. data/vendor/assets/stylesheets/foundation/components/_labels.scss +0 -106
  348. data/vendor/assets/stylesheets/foundation/components/_magellan.scss +0 -34
  349. data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +0 -606
  350. data/vendor/assets/stylesheets/foundation/components/_orbit.scss +0 -388
  351. data/vendor/assets/stylesheets/foundation/components/_pagination.scss +0 -163
  352. data/vendor/assets/stylesheets/foundation/components/_panels.scss +0 -107
  353. data/vendor/assets/stylesheets/foundation/components/_pricing-tables.scss +0 -150
  354. data/vendor/assets/stylesheets/foundation/components/_progress-bars.scss +0 -85
  355. data/vendor/assets/stylesheets/foundation/components/_range-slider.scss +0 -177
  356. data/vendor/assets/stylesheets/foundation/components/_reveal.scss +0 -212
  357. data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +0 -120
  358. data/vendor/assets/stylesheets/foundation/components/_split-buttons.scss +0 -203
  359. data/vendor/assets/stylesheets/foundation/components/_sub-nav.scss +0 -125
  360. data/vendor/assets/stylesheets/foundation/components/_switches.scss +0 -241
  361. data/vendor/assets/stylesheets/foundation/components/_tables.scss +0 -135
  362. data/vendor/assets/stylesheets/foundation/components/_tabs.scss +0 -142
  363. data/vendor/assets/stylesheets/foundation/components/_thumbs.scss +0 -66
  364. data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +0 -142
  365. data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +0 -745
  366. data/vendor/assets/stylesheets/foundation/components/_type.scss +0 -525
  367. data/vendor/assets/stylesheets/foundation/components/_visibility.scss +0 -425
  368. data/vendor/assets/stylesheets/foundation.scss +0 -42
  369. data/vendor/assets/stylesheets/normalize.scss +0 -424
@@ -1,468 +0,0 @@
1
- ;(function ($, window, document, undefined) {
2
- 'use strict';
3
-
4
- Foundation.libs.dropdown = {
5
- name : 'dropdown',
6
-
7
- version : '5.5.3',
8
-
9
- settings : {
10
- active_class : 'open',
11
- disabled_class : 'disabled',
12
- mega_class : 'mega',
13
- align : 'bottom',
14
- is_hover : false,
15
- hover_timeout : 150,
16
- opened : function () {},
17
- closed : function () {}
18
- },
19
-
20
- init : function (scope, method, options) {
21
- Foundation.inherit(this, 'throttle');
22
-
23
- $.extend(true, this.settings, method, options);
24
- this.bindings(method, options);
25
- },
26
-
27
- events : function (scope) {
28
- var self = this,
29
- S = self.S;
30
-
31
- S(this.scope)
32
- .off('.dropdown')
33
- .on('click.fndtn.dropdown', '[' + this.attr_name() + ']', function (e) {
34
- var settings = S(this).data(self.attr_name(true) + '-init') || self.settings;
35
- if (!settings.is_hover || Modernizr.touch) {
36
- e.preventDefault();
37
- if (S(this).parent('[data-reveal-id]').length) {
38
- e.stopPropagation();
39
- }
40
- self.toggle($(this));
41
- }
42
- })
43
- .on('mouseenter.fndtn.dropdown', '[' + this.attr_name() + '], [' + this.attr_name() + '-content]', function (e) {
44
- var $this = S(this),
45
- dropdown,
46
- target;
47
-
48
- clearTimeout(self.timeout);
49
-
50
- if ($this.data(self.data_attr())) {
51
- dropdown = S('#' + $this.data(self.data_attr()));
52
- target = $this;
53
- } else {
54
- dropdown = $this;
55
- target = S('[' + self.attr_name() + '="' + dropdown.attr('id') + '"]');
56
- }
57
-
58
- var settings = target.data(self.attr_name(true) + '-init') || self.settings;
59
-
60
- if (S(e.currentTarget).data(self.data_attr()) && settings.is_hover) {
61
- self.closeall.call(self);
62
- }
63
-
64
- if (settings.is_hover) {
65
- self.open.apply(self, [dropdown, target]);
66
- }
67
- })
68
- .on('mouseleave.fndtn.dropdown', '[' + this.attr_name() + '], [' + this.attr_name() + '-content]', function (e) {
69
- var $this = S(this);
70
- var settings;
71
-
72
- if ($this.data(self.data_attr())) {
73
- settings = $this.data(self.data_attr(true) + '-init') || self.settings;
74
- } else {
75
- var target = S('[' + self.attr_name() + '="' + S(this).attr('id') + '"]'),
76
- settings = target.data(self.attr_name(true) + '-init') || self.settings;
77
- }
78
-
79
- self.timeout = setTimeout(function () {
80
- if ($this.data(self.data_attr())) {
81
- if (settings.is_hover) {
82
- self.close.call(self, S('#' + $this.data(self.data_attr())));
83
- }
84
- } else {
85
- if (settings.is_hover) {
86
- self.close.call(self, $this);
87
- }
88
- }
89
- }.bind(this), settings.hover_timeout);
90
- })
91
- .on('click.fndtn.dropdown', function (e) {
92
- var parent = S(e.target).closest('[' + self.attr_name() + '-content]');
93
- var links = parent.find('a');
94
-
95
- if (links.length > 0 && parent.attr('aria-autoclose') !== 'false') {
96
- self.close.call(self, S('[' + self.attr_name() + '-content]'));
97
- }
98
-
99
- if (e.target !== document && !$.contains(document.documentElement, e.target)) {
100
- return;
101
- }
102
-
103
- if (S(e.target).closest('[' + self.attr_name() + ']').length > 0) {
104
- return;
105
- }
106
-
107
- if (!(S(e.target).data('revealId')) &&
108
- (parent.length > 0 && (S(e.target).is('[' + self.attr_name() + '-content]') ||
109
- $.contains(parent.first()[0], e.target)))) {
110
- e.stopPropagation();
111
- return;
112
- }
113
-
114
- self.close.call(self, S('[' + self.attr_name() + '-content]'));
115
- })
116
- .on('opened.fndtn.dropdown', '[' + self.attr_name() + '-content]', function () {
117
- self.settings.opened.call(this);
118
- })
119
- .on('closed.fndtn.dropdown', '[' + self.attr_name() + '-content]', function () {
120
- self.settings.closed.call(this);
121
- });
122
-
123
- S(window)
124
- .off('.dropdown')
125
- .on('resize.fndtn.dropdown', self.throttle(function () {
126
- self.resize.call(self);
127
- }, 50));
128
-
129
- this.resize();
130
- },
131
-
132
- close : function (dropdown) {
133
- var self = this;
134
- dropdown.each(function (idx) {
135
- var original_target = $('[' + self.attr_name() + '=' + dropdown[idx].id + ']') || $('aria-controls=' + dropdown[idx].id + ']');
136
- original_target.attr('aria-expanded', 'false');
137
- if (self.S(this).hasClass(self.settings.active_class)) {
138
- self.S(this)
139
- .css(Foundation.rtl ? 'right' : 'left', '-99999px')
140
- .attr('aria-hidden', 'true')
141
- .removeClass(self.settings.active_class)
142
- .prev('[' + self.attr_name() + ']')
143
- .removeClass(self.settings.active_class)
144
- .removeData('target');
145
-
146
- self.S(this).trigger('closed.fndtn.dropdown', [dropdown]);
147
- }
148
- });
149
- dropdown.removeClass('f-open-' + this.attr_name(true));
150
- },
151
-
152
- closeall : function () {
153
- var self = this;
154
- $.each(self.S('.f-open-' + this.attr_name(true)), function () {
155
- self.close.call(self, self.S(this));
156
- });
157
- },
158
-
159
- open : function (dropdown, target) {
160
- this
161
- .css(dropdown
162
- .addClass(this.settings.active_class), target);
163
- dropdown.prev('[' + this.attr_name() + ']').addClass(this.settings.active_class);
164
- dropdown.data('target', target.get(0)).trigger('opened.fndtn.dropdown', [dropdown, target]);
165
- dropdown.attr('aria-hidden', 'false');
166
- target.attr('aria-expanded', 'true');
167
- dropdown.focus();
168
- dropdown.addClass('f-open-' + this.attr_name(true));
169
- },
170
-
171
- data_attr : function () {
172
- if (this.namespace.length > 0) {
173
- return this.namespace + '-' + this.name;
174
- }
175
-
176
- return this.name;
177
- },
178
-
179
- toggle : function (target) {
180
- if (target.hasClass(this.settings.disabled_class)) {
181
- return;
182
- }
183
- var dropdown = this.S('#' + target.data(this.data_attr()));
184
- if (dropdown.length === 0) {
185
- // No dropdown found, not continuing
186
- return;
187
- }
188
-
189
- this.close.call(this, this.S('[' + this.attr_name() + '-content]').not(dropdown));
190
-
191
- if (dropdown.hasClass(this.settings.active_class)) {
192
- this.close.call(this, dropdown);
193
- if (dropdown.data('target') !== target.get(0)) {
194
- this.open.call(this, dropdown, target);
195
- }
196
- } else {
197
- this.open.call(this, dropdown, target);
198
- }
199
- },
200
-
201
- resize : function () {
202
- var dropdown = this.S('[' + this.attr_name() + '-content].open');
203
- var target = $(dropdown.data("target"));
204
-
205
- if (dropdown.length && target.length) {
206
- this.css(dropdown, target);
207
- }
208
- },
209
-
210
- css : function (dropdown, target) {
211
- var left_offset = Math.max((target.width() - dropdown.width()) / 2, 8),
212
- settings = target.data(this.attr_name(true) + '-init') || this.settings,
213
- parentOverflow = dropdown.parent().css('overflow-y') || dropdown.parent().css('overflow');
214
-
215
- this.clear_idx();
216
-
217
-
218
-
219
- if (this.small()) {
220
- var p = this.dirs.bottom.call(dropdown, target, settings);
221
-
222
- dropdown.attr('style', '').removeClass('drop-left drop-right drop-top').css({
223
- position : 'absolute',
224
- width : '95%',
225
- 'max-width' : 'none',
226
- top : p.top
227
- });
228
-
229
- dropdown.css(Foundation.rtl ? 'right' : 'left', left_offset);
230
- }
231
- // detect if dropdown is in an overflow container
232
- else if (parentOverflow !== 'visible') {
233
- var offset = target[0].offsetTop + target[0].offsetHeight;
234
-
235
- dropdown.attr('style', '').css({
236
- position : 'absolute',
237
- top : offset
238
- });
239
-
240
- dropdown.css(Foundation.rtl ? 'right' : 'left', left_offset);
241
- }
242
- else {
243
-
244
- this.style(dropdown, target, settings);
245
- }
246
-
247
- return dropdown;
248
- },
249
-
250
- style : function (dropdown, target, settings) {
251
- var css = $.extend({position : 'absolute'},
252
- this.dirs[settings.align].call(dropdown, target, settings));
253
-
254
- dropdown.attr('style', '').css(css);
255
- },
256
-
257
- // return CSS property object
258
- // `this` is the dropdown
259
- dirs : {
260
- // Calculate target offset
261
- _base : function (t, s) {
262
- var o_p = this.offsetParent(),
263
- o = o_p.offset(),
264
- p = t.offset();
265
-
266
- p.top -= o.top;
267
- p.left -= o.left;
268
-
269
- //set some flags on the p object to pass along
270
- p.missRight = false;
271
- p.missTop = false;
272
- p.missLeft = false;
273
- p.leftRightFlag = false;
274
-
275
- //lets see if the panel will be off the screen
276
- //get the actual width of the page and store it
277
- var actualBodyWidth;
278
- var windowWidth = window.innerWidth;
279
-
280
- if (document.getElementsByClassName('row')[0]) {
281
- actualBodyWidth = document.getElementsByClassName('row')[0].clientWidth;
282
- } else {
283
- actualBodyWidth = windowWidth;
284
- }
285
-
286
- var actualMarginWidth = (windowWidth - actualBodyWidth) / 2;
287
- var actualBoundary = actualBodyWidth;
288
-
289
- if (!this.hasClass('mega') && !s.ignore_repositioning) {
290
- var outerWidth = this.outerWidth();
291
- var o_left = t.offset().left;
292
-
293
- //miss top
294
- if (t.offset().top <= this.outerHeight()) {
295
- p.missTop = true;
296
- actualBoundary = windowWidth - actualMarginWidth;
297
- p.leftRightFlag = true;
298
- }
299
-
300
- //miss right
301
- if (o_left + outerWidth > o_left + actualMarginWidth && o_left - actualMarginWidth > outerWidth) {
302
- p.missRight = true;
303
- p.missLeft = false;
304
- }
305
-
306
- //miss left
307
- if (o_left - outerWidth <= 0) {
308
- p.missLeft = true;
309
- p.missRight = false;
310
- }
311
- }
312
-
313
- return p;
314
- },
315
-
316
- top : function (t, s) {
317
- var self = Foundation.libs.dropdown,
318
- p = self.dirs._base.call(this, t, s);
319
-
320
- this.addClass('drop-top');
321
-
322
- if (p.missTop == true) {
323
- p.top = p.top + t.outerHeight() + this.outerHeight();
324
- this.removeClass('drop-top');
325
- }
326
-
327
- if (p.missRight == true) {
328
- p.left = p.left - this.outerWidth() + t.outerWidth();
329
- }
330
-
331
- if (t.outerWidth() < this.outerWidth() || self.small() || this.hasClass(s.mega_menu)) {
332
- self.adjust_pip(this, t, s, p);
333
- }
334
-
335
- if (Foundation.rtl) {
336
- return {left : p.left - this.outerWidth() + t.outerWidth(),
337
- top : p.top - this.outerHeight()};
338
- }
339
-
340
- return {left : p.left, top : p.top - this.outerHeight()};
341
- },
342
-
343
- bottom : function (t, s) {
344
- var self = Foundation.libs.dropdown,
345
- p = self.dirs._base.call(this, t, s);
346
-
347
- if (p.missRight == true) {
348
- p.left = p.left - this.outerWidth() + t.outerWidth();
349
- }
350
-
351
- if (t.outerWidth() < this.outerWidth() || self.small() || this.hasClass(s.mega_menu)) {
352
- self.adjust_pip(this, t, s, p);
353
- }
354
-
355
- if (self.rtl) {
356
- return {left : p.left - this.outerWidth() + t.outerWidth(), top : p.top + t.outerHeight()};
357
- }
358
-
359
- return {left : p.left, top : p.top + t.outerHeight()};
360
- },
361
-
362
- left : function (t, s) {
363
- var p = Foundation.libs.dropdown.dirs._base.call(this, t, s);
364
-
365
- this.addClass('drop-left');
366
-
367
- if (p.missLeft == true) {
368
- p.left = p.left + this.outerWidth();
369
- p.top = p.top + t.outerHeight();
370
- this.removeClass('drop-left');
371
- }
372
-
373
- return {left : p.left - this.outerWidth(), top : p.top};
374
- },
375
-
376
- right : function (t, s) {
377
- var p = Foundation.libs.dropdown.dirs._base.call(this, t, s);
378
-
379
- this.addClass('drop-right');
380
-
381
- if (p.missRight == true) {
382
- p.left = p.left - this.outerWidth();
383
- p.top = p.top + t.outerHeight();
384
- this.removeClass('drop-right');
385
- } else {
386
- p.triggeredRight = true;
387
- }
388
-
389
- var self = Foundation.libs.dropdown;
390
-
391
- if (t.outerWidth() < this.outerWidth() || self.small() || this.hasClass(s.mega_menu)) {
392
- self.adjust_pip(this, t, s, p);
393
- }
394
-
395
- return {left : p.left + t.outerWidth(), top : p.top};
396
- }
397
- },
398
-
399
- // Insert rule to style psuedo elements
400
- adjust_pip : function (dropdown, target, settings, position) {
401
- var sheet = Foundation.stylesheet,
402
- pip_offset_base = 8;
403
-
404
- if (dropdown.hasClass(settings.mega_class)) {
405
- pip_offset_base = position.left + (target.outerWidth() / 2) - 8;
406
- } else if (this.small()) {
407
- pip_offset_base += position.left - 8;
408
- }
409
-
410
- this.rule_idx = sheet.cssRules.length;
411
-
412
- //default
413
- var sel_before = '.f-dropdown.open:before',
414
- sel_after = '.f-dropdown.open:after',
415
- css_before = 'left: ' + pip_offset_base + 'px;',
416
- css_after = 'left: ' + (pip_offset_base - 1) + 'px;';
417
-
418
- if (position.missRight == true) {
419
- pip_offset_base = dropdown.outerWidth() - 23;
420
- sel_before = '.f-dropdown.open:before',
421
- sel_after = '.f-dropdown.open:after',
422
- css_before = 'left: ' + pip_offset_base + 'px;',
423
- css_after = 'left: ' + (pip_offset_base - 1) + 'px;';
424
- }
425
-
426
- //just a case where right is fired, but its not missing right
427
- if (position.triggeredRight == true) {
428
- sel_before = '.f-dropdown.open:before',
429
- sel_after = '.f-dropdown.open:after',
430
- css_before = 'left:-12px;',
431
- css_after = 'left:-14px;';
432
- }
433
-
434
- if (sheet.insertRule) {
435
- sheet.insertRule([sel_before, '{', css_before, '}'].join(' '), this.rule_idx);
436
- sheet.insertRule([sel_after, '{', css_after, '}'].join(' '), this.rule_idx + 1);
437
- } else {
438
- sheet.addRule(sel_before, css_before, this.rule_idx);
439
- sheet.addRule(sel_after, css_after, this.rule_idx + 1);
440
- }
441
- },
442
-
443
- // Remove old dropdown rule index
444
- clear_idx : function () {
445
- var sheet = Foundation.stylesheet;
446
-
447
- if (typeof this.rule_idx !== 'undefined') {
448
- sheet.deleteRule(this.rule_idx);
449
- sheet.deleteRule(this.rule_idx);
450
- delete this.rule_idx;
451
- }
452
- },
453
-
454
- small : function () {
455
- return matchMedia(Foundation.media_queries.small).matches &&
456
- !matchMedia(Foundation.media_queries.medium).matches;
457
- },
458
-
459
- off : function () {
460
- this.S(this.scope).off('.fndtn.dropdown');
461
- this.S('html, body').off('.fndtn.dropdown');
462
- this.S(window).off('.fndtn.dropdown');
463
- this.S('[data-dropdown-content]').off('.fndtn.dropdown');
464
- },
465
-
466
- reflow : function () {}
467
- };
468
- }(jQuery, window, window.document));
@@ -1,104 +0,0 @@
1
- ;(function ($, window, document, undefined) {
2
- 'use strict';
3
-
4
- Foundation.libs.equalizer = {
5
- name : 'equalizer',
6
-
7
- version : '5.5.3',
8
-
9
- settings : {
10
- use_tallest : true,
11
- before_height_change : $.noop,
12
- after_height_change : $.noop,
13
- equalize_on_stack : false,
14
- act_on_hidden_el: false
15
- },
16
-
17
- init : function (scope, method, options) {
18
- Foundation.inherit(this, 'image_loaded');
19
- this.bindings(method, options);
20
- this.reflow();
21
- },
22
-
23
- events : function () {
24
- this.S(window).off('.equalizer').on('resize.fndtn.equalizer', function (e) {
25
- this.reflow();
26
- }.bind(this));
27
- },
28
-
29
- equalize : function (equalizer) {
30
- var isStacked = false,
31
- group = equalizer.data('equalizer'),
32
- settings = equalizer.data(this.attr_name(true)+'-init') || this.settings,
33
- vals,
34
- firstTopOffset;
35
-
36
- if (settings.act_on_hidden_el) {
37
- vals = group ? equalizer.find('['+this.attr_name()+'-watch="'+group+'"]') : equalizer.find('['+this.attr_name()+'-watch]');
38
- }
39
- else {
40
- vals = group ? equalizer.find('['+this.attr_name()+'-watch="'+group+'"]:visible') : equalizer.find('['+this.attr_name()+'-watch]:visible');
41
- }
42
-
43
- if (vals.length === 0) {
44
- return;
45
- }
46
-
47
- settings.before_height_change();
48
- equalizer.trigger('before-height-change.fndth.equalizer');
49
- vals.height('inherit');
50
-
51
- if (settings.equalize_on_stack === false) {
52
- firstTopOffset = vals.first().offset().top;
53
- vals.each(function () {
54
- if ($(this).offset().top !== firstTopOffset) {
55
- isStacked = true;
56
- return false;
57
- }
58
- });
59
- if (isStacked) {
60
- return;
61
- }
62
- }
63
-
64
- var heights = vals.map(function () { return $(this).outerHeight(false) }).get();
65
-
66
- if (settings.use_tallest) {
67
- var max = Math.max.apply(null, heights);
68
- vals.css('height', max);
69
- } else {
70
- var min = Math.min.apply(null, heights);
71
- vals.css('height', min);
72
- }
73
-
74
- settings.after_height_change();
75
- equalizer.trigger('after-height-change.fndtn.equalizer');
76
- },
77
-
78
- reflow : function () {
79
- var self = this;
80
-
81
- this.S('[' + this.attr_name() + ']', this.scope).each(function () {
82
- var $eq_target = $(this),
83
- media_query = $eq_target.data('equalizer-mq'),
84
- ignore_media_query = true;
85
-
86
- if (media_query) {
87
- media_query = 'is_' + media_query.replace(/-/g, '_');
88
- if (Foundation.utils.hasOwnProperty(media_query)) {
89
- ignore_media_query = false;
90
- }
91
- }
92
-
93
- self.image_loaded(self.S('img', this), function () {
94
- if (ignore_media_query || Foundation.utils[media_query]()) {
95
- self.equalize($eq_target)
96
- } else {
97
- var vals = $eq_target.find('[' + self.attr_name() + '-watch]:visible');
98
- vals.css('height', 'auto');
99
- }
100
- });
101
- });
102
- }
103
- };
104
- })(jQuery, window, window.document);