1/*========== 2 3Template Name: Shivaa 4 5==========*/ 6 7/*========== 8----- JS INDEX ----- 91.Whole Script Strict Mode Syntax 102.Counting JS 11==========*/ 12 13 14 15$(document).ready(function($) { 16 17 // Whole Script Strict Mode Syntax 18 "use strict"; 19 20 var a = 0; 21 var b = 0; 22 $(window).on('scroll', function() { 23 // Counting JS Start 24 var oTop = $('#progress_bar').offset().top - window.innerHeight; 25 if (a === 0 && $(window).scrollTop() > oTop) { 26 $('.counting, .experience-counting').each(function() { 27 var $this = $(this), 28 countTo = $this.attr('data-count'); 29 30 $({ countNum: $this.text()}).animate({ 31 countNum: countTo 32 }, 33 34 { 35 36 duration: 2000, 37 easing:'linear', 38 step: function() { 39 $this.text(Math.floor(this.countNum)); 40 }, 41 complete: function() { 42 $this.text(this.countNum); 43 } 44 45 }); 46 47 }); 48 a = 1; 49 } 50 var oTop2 = $('#progress_bar').offset().top - window.innerHeight; 51 if (b === 0 && $(window).scrollTop() > oTop2) { 52 $(".experience-skill-bar").each(function(){ 53 $(this).find(".experience-skill-bar-inner").animate({ 54 width: $(this).attr("data-width") 55 },2000); 56 }); 57 } 58 // Counting JS Start 59 60 }); 61 62});
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.