View Single Post
07/07/14, 04:51 AM   #10
zgrssd
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 280
Originally Posted by farangkao View Post
The Answer is simple, their code checks for a string that starts with "## OptionalDependsOn:" ,the rest of the string is then processes accordingly, the spaces don't matter then.
Since according to the wiki it is a Space seperated list, the spaces do matter.
At worst it might actually count the comma to the addon name, so it was trying to load the addon "LibStub," instead of "LibStub" - wich it would never find.

Luckily the only one that really mattered ws BugEater/LibDebug because those are needed for the error output. And since they always were at the end of the list, thier names were propably parsed correctly.
The rest was only thier for minor efficiency reasons (stand alone copies more likely up to date, so better to load them before embedded copies are loaded so LibStub get's the highest first).
  Reply With Quote