1chanimator_object = ajax_object.chanimator_current_step; 2chanimator_object = JSON.parse(chanimator_object); 3 4function chani_apply_animation(json_object){ 5 jQuery(json_object).each(function(i,c){ 6 7 8 9 ww = jQuery(window).width(); 10 11 obj = jQuery(c.item); 12 par = obj.parent(); 13 14 animation_type = c.animation; 15 animation_speed = c.speed; 16 animation_offset = c.offset; 17 animate_once = c.run_once; 18 disable_on_mobile = c.disable_mobile; 19 20 if (!animation_speed) animation_speed = ''; 21 if (animate_once && animate_once == 'yes'){ 22 animate_once = 'animateOnce' 23 } else { 24 animate_once = ''; 25 } 26 27 if (disable_on_mobile == 'yes' && ww < 768){ 28 // DISABLED 29 } else { 30 par.addClass('animatedParent '+animate_once); 31 if (animation_offset) par.attr('data-appear-top-offset',animation_offset); 32 obj.addClass('animated '+animation_type+' '+animation_speed); 33 } 34 }) 35} 36jQuery(document).ready(chani_apply_animation(chanimator_object)); 37
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.