app/assets/javascripts/caisson/base.coffee in caisson-0.0.1 vs app/assets/javascripts/caisson/base.coffee in caisson-0.0.2
- old
+ new
@@ -1,6 +1,10 @@
class Caisson
constructor: () ->
+ $(document).foundation()
+
+ FormCaisson.load()
+
$('div[data-caisson]').each (i, component) =>
switch $(component).data('caisson')
when 'orbit-slider' then new OrbitSlider $(component)