Skip to content

Added methods for excluding mod script and css files for when mods get deactivated.

Fristi requested to merge fristi/pleroma-mod-loader:master into master

I noticed that when mods are deactivated, any included script and css files don't get disabled or removed. I've added some helper methods to make it easy for mods to clean up these files.

Note that these helper methods don't automatically clean up anything; it's up to the mod to call these functions using its "onDestroy" handler.

Merge request reports