Skip to content

Clean-up Implementation of FE JavaScript in all apps #26

@senakafdo

Description

@senakafdo

Some of the issues in the current code are as follows:

  1. Not using ES6+ syntax such as: arrow functions, string interpolation, classes/modules, class inheritance to avoid duplication of code, Set/Map datastructures.
  2. Use of default values instead of testing for undefined as in ES5.
  3. Exposing functions in the global scope.

Cleaned up code should be easy enough for someone to extend and build their own app(s). It should also be possible to build apps that combine more than one app - this can be achieved by extracting the app-specific logic into classes and having the OVE-init outside of it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions