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
|