1///////////////////////////////// 2//Windowsãµã¤ãºãåå¾ 3///////////////////////////////// 4function updateViewportDimensions() { 5 var w=window,d=document,e=d.documentElement,g=d.getElementsByTagName('body')[0],x=w.innerWidth||e.clientWidth||g.clientWidth,y=w.innerHeight||e.clientHeight||g.clientHeight; 6 return { width:x,height:y }; 7} 8var viewport = updateViewportDimensions(); 9 10 11 12///////////////////////////////// 13// ç»é¢ã®ãµã¤ãºå¤æ´ãå®äºããæã«jqueryãåãã 14///////////////////////////////// 15var waitForFinalEvent = (function () { 16 var timers = {}; 17 return function (callback, ms, uniqueId) { 18 if (!uniqueId) { uniqueId = "Don't call this twice without a uniqueId"; } 19 if (timers[uniqueId]) { clearTimeout (timers[uniqueId]); } 20 timers[uniqueId] = setTimeout(callback, ms); 21 }; 22})(); 23var timeToWaitForLast = 100; 24 25 26function loadGravatars() { 27 viewport = updateViewportDimensions(); 28 if (viewport.width >= 768) { 29 jQuery('.comment img[data-gravatar]').each(function(){ 30 jQuery(this).attr('src',jQuery(this).attr('data-gravatar')); 31 }); 32 } 33} 34 35 36///////////////////////////////// 37// target Linkå ã«ç»åãã¯ãã£ã¦ããå ´åã«ã¯ã©ã¹ã追å 38///////////////////////////////// 39jQuery(function($){ 40$("a:has(img)").addClass("no-icon"); 41});
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.