1'use strict'; 2 3(function($) { 4 $(function() { 5 6 AIP.getData('bio', function(data) { 7 $('.profile_content .text').html(nl2br(data.biography.text)); 8 }); 9 10 /** 11 * effect 12 */ 13 14 var effect = []; 15 $('.effect').each(function() { 16 effect.push({ 17 top: $(this).offset().top, 18 obj: $(this) 19 }); 20 }); 21 22 $(window).on('scroll.effect', function() { 23 var st = $(this).scrollTop(); 24 var fire = 0; 25 for (var i = 0; i < effect.length; i++) { 26 if (st + WH * .8 >= effect[i].top) { 27 fire = i + 1; 28 effect[i].obj.addClass('on'); 29 } 30 } 31 32 if (fire > 0) { 33 effect.splice(0, fire); 34 if (!effect.length) { 35 $(window).off('effect'); 36 } 37 } 38 }); 39 }); 40})(typeof Zepto !== 'undefined' ? Zepto : jQuery);
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.