gitlab-org--gitlab-foss/app/assets/javascripts/lib/animate.js.coffee

13 lines
290 B
CoffeeScript
Raw Normal View History

((w) ->
w.glAnimate = ($el, animation, done) ->
$el
.removeClass()
.addClass(animation + ' animated')
.one 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', ->
$(this).removeClass()
return
return
return
) window