1/*============================================================================== 2ãaddin_gmap.jsã 3 å稿詳細ãã¼ã¸ã«googlemapãè¨ç½®ããJS 4 2018/06/06:ver1.30 ã¸ãªã³ã¼ãã£ã³ã°å¦ç廿¢ 5/*==============================================================================*/ 6 7var 8$pURL=location.pathname; 9 10var 11$url ="", 12$src = $("#js_gmap").attr("src"), 13$split= $src.split("/"); 14for(var i=0;i<$split.length-1;i++){ 15 $url+=$split[i]+"/"; 16} 17var $source = $url; 18 19var 20$lat=$("#js_gmap").attr("data-lat"),//緯度 21$lon=$("#js_gmap").attr("data-lon"),//çµåº¦ 22$bln=Boolean($pURL.match("/job/") && !($pURL.match("/map"))); 23 24if(($lat==="" || $lon==="") || ($lat==="0" && $lon==="0")){ 25 //使ããã¹ãã§åº§æ¨åå¾ 26 console.log("ãæ³¨æã座æ¨ãã¼ã¿ãåå¾ã§ãã¾ããã§ããã"); 27 $bln=false; 28} 29var 30$api=$("#js_gmap").attr("data-api"); 31if($bln){ 32 document.write( 33 '<script src="//maps.googleapis.com/maps/api/js?key='+$api+'&language=ja®ion=JP" async defer type="text/javascript" ></script>'+ 34 '<script src="'+$source+'gmap_noEdit.js" defer type="text/javascript" ></script>'+ 35 '<link href="'+$source+'gmap_noEdit.css" rel="stylesheet" type="text/css">'+ 36 '<link href="'+$source+'gmap_setting.css" rel="stylesheet" type="text/css">' 37 ); 38}
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.