gitlab-org--gitlab-foss/app/assets/javascripts/lib/animate.js.coffee
Jacob Schatz 6f48cb8609 Fix broken functionality in sidebar after merge.
Added nice animations too.
2016-03-25 09:48:12 -04:00

13 lines
No EOL
290 B
CoffeeScript

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