Closed MattNet closed 1 year ago
A possible solution is to refactor the client-side code for a framework or library that can serialize script requests before loading the rest of the document. Possible code is JQuery or KnockoutJS
Another solution is to wrap the indexBuild.js and maps.js code in functions that fire after the DOMContentLoaded event
Wrapped the indexBuild.js and map.js code in functions that are called when the document is loaded
The player sheet (/sheet/index.html) does not always load the data file (from /files/) in time to parse it with the map code (/sheet/maps.js) and the page-building code (/sheet/indexBuild.js)