1(function($){ 2 3 $.fn.imgAuth = function(config){ 4 5 var defaults = { 6 7 speed : 5000 8 } 9 10 var options = $.extend(defaults, config); 11 12 return this.each(function(i){ 13 14 //alert("imgAuth Run!"); 15 16 var $img = $(this); 17 18 // #2184 KAWANAKA 19 var form_id = $img.data("form-id"); 20 form_id = (typeof form_id !== "undefined") ? form_id : 0; 21 22 var loading_url = $img.attr("src"); 23 var img_auth_url = FullUrl + "type019_forms/img_auth/" + form_id; 24 25 var msg = $img.data("switch-msg"); 26 27 var $switch = $("<a />").attr("href","javascript:void(0);").html(msg); 28 29 $img.after($switch); 30 31 $switch.click(function (e) { 32 33 e.stopPropagation(); 34 35 var DateClass = new Date(); 36 37 var cache = "?cache=" + DateClass.getTime(); 38 39 $img.attr("src", img_auth_url + cache); 40 41 }).trigger("click"); 42 43 44 }); 45 }; 46 47})(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.