Sha256: 0bac8eb4697b9cc1a0f7333776691f3b9a74b78d289fcf40f8702e5497ce5691

Contents?: true

Size: 352 Bytes

Versions: 4

Compression:

Stored size: 352 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

4 entries across 4 versions & 2 rubygems

Version Path
breezeblocks-0.0.4 source/javascripts/breezeblocks/coffeescript/animate.coffee
breezeblocks-0.0.2 source/javascripts/breezeblocks/coffeescript/animate.coffee
breezeblocks-0.0.1 source/javascripts/breezeblocks/coffeescript/animate.coffee
refills-0.1.0 source/javascripts/refills/coffeescript/animate.coffee