Explorar o código

Update 'src/app/core/application/application.js'

Added information about iGeomJS version
Added "console.log" in "constructor()"
leo %!s(int64=2) %!d(string=hai) anos
pai
achega
62fc798c98
Modificáronse 1 ficheiros con 26 adicións e 6 borrados
  1. 26 6
      src/app/core/application/application.js

+ 26 - 6
src/app/core/application/application.js

@@ -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);
-  }
-}
+    }
+
+  }