robotpy / robotpy-websim

OBSOLETE: Experimental robot simulation html interface
6 stars 1 forks source link

Need to define a default module load order #21

Closed virtuald closed 9 years ago

virtuald commented 9 years ago

Currently is alphabetical.

Alternatively would be for each module to register itself, and define some value when doing so. Then after all the modules JS are loaded, the loader loads them in order?

amorygalili commented 9 years ago

You can define an order in the module. The higher the order value the further down it will appear.