|
@@ -1,12 +1,32 @@
|
|
|
+/*
|
|
|
+ * iGeom by LInE
|
|
|
+ * Free software to student private data
|
|
|
+ *
|
|
|
+ * http://www.matematica.br/igeom
|
|
|
+ * http://www.usp.br/line
|
|
|
+ *
|
|
|
+ * Prepare array to "stages", "actions" and add "menu"
|
|
|
+ *
|
|
|
+ * ./app/core/application/application.js
|
|
|
+ *
|
|
|
+ * @version 2023/07/14: Fixed reading GEO file with midpoint
|
|
|
+ */
|
|
|
+
|
|
|
import { menu } from "../../core/application/menu";
|
|
|
+
|
|
|
export class Application {
|
|
|
- constructor() {
|
|
|
+
|
|
|
+ constructor () {
|
|
|
+ console.log("application.js!constructor(): starting");
|
|
|
this.stages = [];
|
|
|
this.actions = [];
|
|
|
this.menu = menu;
|
|
|
- }
|
|
|
- bootstrap() {}
|
|
|
- registryComponent(component) {
|
|
|
+ }
|
|
|
+
|
|
|
+ bootstrap () {}
|
|
|
+
|
|
|
+ registryComponent (component) {
|
|
|
menu.add(component);
|
|
|
- }
|
|
|
-}
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|