Sha256: 142f6416464eb0722511712c18e0da3f517a5db1fa1d55b9a18d096f6fb77e1e
Contents?: true
Size: 471 Bytes
Versions: 12
Compression:
Stored size: 471 Bytes
Contents
# http://digitalbush.com/projects/masked-input-plugin/ initialize = -> $('input.effective_url: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 'cocoon:after-insert', -> initialize()
Version data entries
12 entries across 12 versions & 1 rubygems