Sha256: 401585c0ea4dbe24b9e204269638bc953affbeee9cf14d65c6aea33cab34d22a

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

$ ->
  animationClasses = 'animated alternate iteration zoomOut'
  animationEnd = 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend'
  $('.animate-trigger').on 'click', ->
    $('.animate-target').addClass(animationClasses).one animationEnd, ->
      $(this).removeClass animationClasses
      return
    return
  return

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refills-0.2.0 source/javascripts/refills/coffeescript/animate.coffee