Let's get rid of LibStub!
View Single Post
04/30/19, 12:29 AM
Join Date: Apr 2017
Originally Posted by
Sounds good and should be easily doable. Only will take time
About "AddonStub": I did not really get what4 it can/should be used but I think removing 1 versioning lib to use another (kind of) one shouldn't be the solution. I'll go for ##AddOnVersion: and ##IsLibrary + global lib variable.
AddonStub does not version anything. The game does that. What AddonStub does do is to check manifest content versus code content to insure that the AddOnVersion: directive and its number are both present and are both valid values. The rest of the code properly disposes of OOD duplicates and embedded duplicates or it creates a manifest table for all valid add-ons. And it updates existing add-ons whenever it detects a newer AddOnVersion: number.
Drakanwulf, the dire wolf that hunts dragons!
View Public Profile
Send a private message to Drakanwulf
Find More Posts by Drakanwulf