diff --git a/system/VRoutes/downloadScene.js b/system/VRoutes/downloadScene.js index 942952e..671a184 100644 --- a/system/VRoutes/downloadScene.js +++ b/system/VRoutes/downloadScene.js @@ -2,10 +2,10 @@ let sceneHtml = `\n\n\n`; // sceneObjectsを利用して各オブジェクトのHTMLを構築 -for (let id in sceneObjects) { - let obj = sceneObjects[id]; - sceneHtml += ``; -} + for (let id in sceneObjects) { + let obj = sceneObjects[id]; + sceneHtml += ``; + } sceneHtml += '\n'; @@ -40,14 +40,14 @@ function encodeImageFileAsURL(element) { var file = element.files[0]; var reader = new FileReader(); - reader.onloadend = function() { + reader.onloadend = function () { // エンコードされた画像データをグローバル変数に保存 window.encodedImage = reader.result; } reader.readAsDataURL(file); } -document.getElementById('backgroundInput').addEventListener('change', function() { +document.getElementById('backgroundInput').addEventListener('change', function () { encodeImageFileAsURL(this); }); diff --git a/system/VRoutes/main.html b/system/VRoutes/main.html index eb30172..3325974 100644 --- a/system/VRoutes/main.html +++ b/system/VRoutes/main.html @@ -1,5 +1,6 @@ + VRoutes | WebVR作成システム @@ -41,7 +42,7 @@ - +