1// *****************плагин ÑÐ¸ÐºÑ Ð´Ð»Ñ Ð·Ð°Ð³ÑÑзки изобÑажений 2(function ($) { 3 $.fn.bindImageLoad = function (callback) { 4 function isImageLoaded(img) { 5 if (!img.complete) { 6 return false; 7 } 8 if (typeof img.naturalWidth !== "undefined" && img.naturalWidth > 0) { 9 return false; 10 } 11 return true; 12 } 13 return this.each(function () { 14 var ele = $(this); 15 if (ele.is("img") && $.isFunction(callback)) { 16 ele.one("load", callback); 17 if (isImageLoaded(this)) { 18 ele.trigger("load"); 19 } 20 } 21 }); 22 }; 23})(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.