Sha256: b9d9eb1f1b88af4a92d8bb73dfe1137dac5787bae41393a97e48ed0bc18d21b1
Contents?: true
Size: 469 Bytes
Versions: 16
Compression:
Stored size: 469 Bytes
Contents
initialize = -> $('input.effective_email:not(.initialized)').each (i, element) -> element = $(element) options = element.data('input-js-options') || {} # We don't actually do anything with options element.addClass('initialized') $ -> initialize() $(document).on 'page:change', -> initialize() $(document).on 'turbolinks:load', -> initialize() $(document).on 'turbolinks:render', -> initialize() $(document).on 'cocoon:after-insert', -> initialize()
Version data entries
16 entries across 16 versions & 1 rubygems