mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 21:56:19 +10:00
13 lines
290 B
CoffeeScript
13 lines
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 |