Anyone using Util.js or Backport.js?

For AI and campaign script related discussions and questions
User avatar
aubergine
Professional
Professional
Posts: 3462
Joined: 10 Oct 2010, 00:58

Anyone using Util.js or Backport.js?

Post by aubergine »

I'm thinking of making some major changes to Util.js and Backport.js.

After mapping out some dependencies across a range of mods I'm working on, it became immediately apparent that they are the root dependencies of pretty much everything I do.
dep.png
Planned changes are:

* Create new Events API to deal with all things event-related
* Move uTardis out of Util and in to Events API
* Move event backporting out of Backport and in to Events API
* Major refactor of all Backport related code to new API format (fixing some bugs in the process)
* Remove backport.global (as Util 0.9+ provides global 'global' const)
* Make Backport API dependent on Util API
* Make Events API dependent on Backport and Util APIs
* Move all documentation in to EGG wiki alongside docs for all other APIs


* Insert Events API in to the dependency list of all APIs that use events
You do not have the required permissions to view the files attached to this post.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO