+
- -
+
開閉 +
+ HOME
+
-
-
-
-
開閉 -
- HOME
-
+
+
+
+ -
+
- メイン +
+
-
+
Hello Solitude World
+This is Solitude
+
-
+
-
+ -
-
- メイン -
-
-
-
- Hello Solitude World
-This is Solitude
-
+
+
+
+
+
+
+
+
+
+
+
+
+
APP NAME
+
+
+
+ 表示名
+
+
+
+
+
\ No newline at end of file
diff --git a/src/js/src/main/app.js b/src/js/src/main/app.js
index 7abfd6d..a6af66f 100644
--- a/src/js/src/main/app.js
+++ b/src/js/src/main/app.js
@@ -208,33 +208,31 @@
switch (appType) {
case "main":
case "undef":
+ app = null;
//do nothing
break;
+ case "staticpage":
+ app = new StaticPageApp(name, conf);
+ break;
+ case "iframe":
+ app = new IframeApp(name, conf);
+ break;
+ case "batch":
+ app = new BatchApp(name, conf);
+ break;
default:
//something wrong;
break;
-
- case "staticpage":
- app = new StaticPageApp(name, conf);
- app.instanceID = ++appInstanceID;
- app.load();
- break;
- case "iframe":
- app = new IframeApp(name, conf);
- app.instanceID = ++appInstanceID;
- app.load();
- break;
- case "batch":
- app = new BatchApp(name, conf);
- app.instanceID = ++appInstanceID;
- app.load();
- break;
}
+ if(app) {
+ app.instanceID = ++appInstanceID;
+ app.load();
+ }
+
}
//巻き上げを期待しているためclass構文ではない。
-
function IframeApp(name, conf) {
this.name = name;
this.conf = conf;
+
-
+
-
-
+
+
+
+
-
+
+
+
+
-
-
-
-
-
+
+
-
-
-
-
-
APP NAME
-
-
-
- 表示名
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+