1(function($){ 2 $(function(){ 3 var sliderInitCalled = false, 4 sliderContain = $('#by-the-numbers .container'), 5 sliderInit = [ 6 { 7 min: 0, 8 max: 1299, 9 enter: function() { 10 11 if(!sliderInitCalled) { 12 imagesLoaded('#by-the-numbers .container', function(){ 13 var initCalled = false, 14 slider = $('#by-the-numbers .container .slider').sudoSlider({ 15 continuous:true, 16 responsive:true, 17 speed:500, 18 slideCount:1, 19 moveCount:1, 20 autoHeight:true, 21 initCallback: function() { 22 23 if (!initCalled) { 24 initCalled = true; 25 26 var moves = [ 27 { 28 min: 1300, 29 max: 999999, 30 enter: function() { 31 slider.destroy(); 32 slider.removeAttr('style'); 33 slider.find('.slidesContainer').removeAttr('style'); 34 slider.find('.slide').removeAttr('style'); 35 }, 36 exit: function() { 37 slider.init(); 38 } 39 } 40 ] 41 breakdance(moves); 42 } 43 } 44 }); 45 46 if ($('html').hasClass('touch')) { 47 sliderContain.on('swiperight.slider',function() { slider.goToSlide("prev") }); 48 sliderContain.on('swipeleft.slider',function() { slider.goToSlide("next") }); 49 } 50 51 $(window).on('resize.sliderPause',function(){ slider.stopAnimation() }); 52 53 sliderInitCalled = true; 54 }); 55 56 } 57 }, 58 exit: function() { 59 if(sliderInitCalled) { 60 sliderContain.off('.slider'); 61 } 62 } 63 } 64 ] 65 66 breakdance(sliderInit); 67 68 }); 69})($JQ);
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.