When you have many plugins each in separate directory that contains:
- css
- js
- images
and many of them are located in different places
$.autoload.css("style.css", {baseFile: "pluginName.js", cssPath: "css/"});
- Autoload try to find baseFile among existing scripts of document head
- It extract basePath from baseFile
- Load CSS from "basePath + cssPath + style.css"