app/assets/javascripts/styleus/base.js.coffee in styleus-0.0.6 vs app/assets/javascripts/styleus/base.js.coffee in styleus-0.0.7
- old
+ new
@@ -1,3 +1,9 @@
jQuery($(document).ready ->
- styleus.toggle.install()
+ install = ->
+ styleus.toggle.install()
+ styleus.sampleContent.install()
+
+ $(document).on 'dom:changed', install
+
+ install()
)
\ No newline at end of file