diff --git a/src/js/src/main/app.html b/src/js/src/main/app.html
index a7625a9..59dbaac 100644
--- a/src/js/src/main/app.html
+++ b/src/js/src/main/app.html
@@ -6,7 +6,7 @@
Solitude
-
+
@@ -174,7 +174,7 @@
//do nothing
break;
default:
- //do nothing
+ //something wrong;
break;
case "iframe":
@@ -231,24 +231,6 @@
mount.appendChild(base)
}
-
- //設定読み込み。設定ファイル化したい。
- function webconfig(global) {
- global.tmp = global.tmp || {};
- global.tmp.solitudeapps = {};
- loadTo(global.tmp.solitudeapps);
- }
-
-
- function loadTo(target) {
- const apps = target;
- apps.main = {};
- apps.main.type = "main";
-
- apps.mdeditor = {};
- apps.mdeditor.type = "iframe";
- apps.mdeditor.src = "../mdeditor/app.html";
- }
}
diff --git a/src/js/src/main/web-conf.js b/src/js/src/main/web-conf.js
index 0381c8a..18682e8 100644
--- a/src/js/src/main/web-conf.js
+++ b/src/js/src/main/web-conf.js
@@ -1,9 +1,8 @@
-(function webconfig(global) {
+function webconfig(global) {
global.tmp = global.tmp || {};
global.tmp.solitudeapps = {};
loadTo(global.tmp.solitudeapps);
- console.log(window)
-})(window)
+}
function loadTo(target) {
@@ -12,6 +11,6 @@
apps.main.type = "main";
apps.mdeditor = {};
- apps.mdeditor.type = "ifraem";
+ apps.mdeditor.type = "iframe";
apps.mdeditor.src = "../mdeditor/app.html";
}
\ No newline at end of file