1function svc_add_animation($this, animation) { 2 $this.removeClass('animated '+animation).addClass('animated '+animation).one('webkitAnimationEnd oanimationend msAnimationEnd animationend', function (e) { 3 $this.css({ 4 '-webkit-animation':'none', 5 '-webkit-animation-name':'none', 6 'animation-name':'none', 7 'animation':'none' 8 }); 9 $this.removeClass('animated '+animation).removeAttr('svc-animation'); 10 }); 11} 12function svc_imag_animation(){ 13 jQuery('[svc-animation]').each(function () { 14 var animation_style = jQuery(this).attr('svc-animation'); 15 svc_add_animation(jQuery(this), animation_style); 16 }); 17} 18function svc_addLoadEvent(func) { 19 var oldonload = window.onload; 20 if (typeof window.onload != 'function') { 21 window.onload = func; 22 } else { 23 window.onload = function() { 24 if (oldonload) { 25 oldonload(); 26 } 27 func(); 28 } 29 } 30}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.