From d3fa768343197bc7d00b4156e4ad1c2349d37cb0 Mon Sep 17 00:00:00 2001 From: Shinichi Urabe Date: Wed, 9 Mar 2016 23:12:12 +0900 Subject: [PATCH 1/3] (refs #3775) Unified indent , the notation. --- web/cmd/maps.google.co.jp.js | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/web/cmd/maps.google.co.jp.js b/web/cmd/maps.google.co.jp.js index ecd90fb..fc25675 100644 --- a/web/cmd/maps.google.co.jp.js +++ b/web/cmd/maps.google.co.jp.js @@ -3,15 +3,15 @@ function url2cmd(url, googlemapsUrl) { var maps_google_co_jp = url.match(/^https?:\/\/maps\.google\.co\.jp\/\?(.+)/); if (maps_google_co_jp_maps || maps_google_co_jp) { - var id = RegExp.$1; - main(id, googlemapsUrl); - } else { - pne_url2a(url); - } + var id = RegExp.$1; + main(id, googlemapsUrl); + } else { + pne_url2a(url); + } } function main(id, googlemapsUrl) { - if (id.match(/@/)){ + if (id.match(/@/)) { var cmd = id.match(/@(.+)z/); var param = cmd[1].split(","); var lon = param[0]; @@ -19,17 +19,17 @@ function main(id, googlemapsUrl) { var z = param[2]; var html = '' - + ''; + + ''; } else { var cmd = id.split("&"); var param = new Array(); param["z"] = "15"; param["ll"] = "0,0"; - for(i=0; i' - + 'この部分はインラインフレームを使用しています。' - + ''; + + ''; } - document.write(html); + + document.write(html); } -- 2.7.1.287.g4943984