Upgrade build pipeline

Issue #517 new
Chris Abernethy created an issue

The current codebase requires ES5 conformance to support older browsers, which makes it difficult to refactor and improve the legacy code.

New build tools like babel and webpack allow code to be written in modern Javascript and transpiled to ES5. The existing build pipeline should be modified so that it is possible to write ES6 code without dropping support for older browsers.

This change will require both build pipeline modifications as well as modifications to existing code to make things more modular.

This issue serves as a placeholder against which a number of PRs will need to be made.

Comments (11)

  1. Chris Abernethy reporter

    PR #215 refactors the generic global lookupByPropertyMultiple() function according to its one specific use case; looking up system IDs by system names. The refactored function lives under the tripwire object instead of the global scope.

  2. Chris Abernethy reporter

    PR #216 refactors the generic global lookupMultiple() function according to its one specific use case; looking up system names by system IDs. The refactored function lives under the tripwire object instead of the global scope.

  3. Chris Abernethy reporter

    PR #218 removes the typeFormat and classFormat configuration options, which have been commented for several years now. Removal of these two options allows for the removal of the typeBM and classBM elements from chain nodes, as well as the two global functions lettersToNumbers and sigFormat.

  4. Chris Abernethy reporter

    PR #219 refactors the global Object.maxTime() into two functions on the tripwire object. These new functions are easier to understand, and the global scope is cleaner for it.

  5. Log in to comment