projectmesa / mesa-viz-tornado

Apache License 2.0
2 stars 8 forks source link

Preserve order of script/stylesheet includes #47

Closed sgfost closed 8 months ago

sgfost commented 8 months ago

Changes the collecting of an element's includes to use dicts to preserve the order specified by the element and (and retain the prevention duplicates). As noted in #24, this is needed when a module has dependencies that rely on others being loaded first.

Alternatively, using lists may make it slightly more clear what is happening but would require the additional step of removing duplicates


resolves #24

rht commented 8 months ago

Thank you for fixing the long-standing bug!

sgfost commented 8 months ago

Sure thing, thanks for your work on mesa