1var tpsObjects = []; 2 3// Deprecated. Use tpsObjects instead. 4var tpsInstance = null; 5 6jQuery(function ($) { 7 $(document).ready(function () { 8 $('[data-theiaPostSlider-sliderOptions]').each(function () { 9 if ($(this).attr('data-theiaPostSlider-loaded')) { 10 return; 11 } 12 $(this).attr('data-theiaPostSlider-loaded', 'true'); 13 14 var o = {}; 15 16 o.definitionElement = $(this); 17 o.sliderOptions = JSON.parse(o.definitionElement.attr('data-theiaPostSlider-sliderOptions')); 18 o.onChangeSlide = JSON.parse(o.definitionElement.attr('data-theiaPostSlider-onChangeSlide')); 19 20 $(document).bind('theiaPostSlider.changeSlide', function (event, slideIndex) { 21 eval(o.onChangeSlide); 22 }); 23 24 o.tpsInstance = new tps.createSlideshow(o.sliderOptions); 25 26 if (tpsObjects.length == 0) { 27 tpsInstance = o.tpsInstance; 28 } 29 30 tpsObjects.push(o); 31 }); 32 }); 33});
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.