Upgrade build pipeline
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)
-
reporter -
reporter PR #213 has been created to begin cleaning up the global scope by removing several unused functions.
-
reporter PR #214 has been created to remove the unused
parseHeaders()
function from global scope. -
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 thetripwire
object instead of the global scope. -
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 thetripwire
object instead of the global scope. -
reporter PR #217 removes the global regex-based
numFormat()
function from global scope, and replaces it with Intl.NumberFormat.format(). -
reporter PR #218 removes the
typeFormat
andclassFormat
configuration options, which have been commented for several years now. Removal of these two options allows for the removal of thetypeBM
andclassBM
elements from chain nodes, as well as the two global functionslettersToNumbers
andsigFormat
. -
reporter PR #219 refactors the global
Object.maxTime()
into two functions on thetripwire
object. These new functions are easier to understand, and the global scope is cleaner for it. -
reporter PR #220 replaces the custom global
Object.size()
with built inObject.keys()
. -
reporter PR #221 removes the
isEmpty()
function from the global scope, replacing it withObject.keys().length
-
reporter PR #222 removes the unused
Object.time()
function from the global scope. - Log in to comment
PR #212 has been created to expand glob entries in
gulpfile.js