application.js 616 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * iGeom by LInE
  3. * Free software to student private data
  4. *
  5. * http://www.matematica.br/igeom
  6. * http://www.usp.br/line
  7. *
  8. * Prepare array to "stages", "actions" and add "menu"
  9. *
  10. * ./app/core/application/application.js
  11. *
  12. * @version 2023/07/14: Fixed reading GEO file with midpoint
  13. */
  14. import { menu } from "../../core/application/menu";
  15. export class Application {
  16. constructor () {
  17. console.log("application.js!constructor(): starting");
  18. this.stages = [];
  19. this.actions = [];
  20. this.menu = menu;
  21. }
  22. bootstrap () {}
  23. registryComponent (component) {
  24. menu.add(component);
  25. }
  26. }