Quantcast
Download
(3 Kb)
Download
Updated: 05/16/20 05:06 AM
Compatibility:
Harrowstorm (5.3.5)
Updated:05/16/20 05:06 AM
Created:05/16/20 01:36 AM
Monthly downloads:8,903
Total downloads:115,421
Favorites:139
MD5:
LibTableFunctions-1.0  Popular! (More than 5000 hits)
Version: 1.0.1
by: Onigar [More]
Originally written by Urich.

A small collection of functions aimed at simplifying table operations.
V1.0.1
(Thanks to Baertram)
Removed references to LibStub

V 1.0
Initial release as a stand-alone lib.
Archived Files (1)
File Name
Version
Size
Uploader
Date
1.0
3kB
05/16/20 01:36 AM


Post A Reply Comment Options
Unread 05/16/20, 05:09 AM  
Onigar
 
Onigar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 328
Uploads: 4
Thank you Baertram for you comment.

This Lib is updated with your suggested changes and submitted.
Report comment to moderator  
Reply With Quote
Unread 05/16/20, 02:21 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3440
File comments: 4160
Uploads: 66
Thanks.
In additions you guys can use these functions of ZOs:
https://github.com/esoui/esoui/blob/...tableutils.lua

Please remove LibStub as it is obsolete:
New libs should never use LibStub anymore.

OLd:
Code:
--Register LTF with LibStub
local libName, libVersion = "LibTableFunctions-1.0", 1
local ltf, oldminor
if(not LibStub) then
    ltf = {}
else
    ltf, oldminor = LibStub:NewLibrary(libName, libVersion)
    if not ltf then
        return -- already loaded and no upgrade necessary
    end
end
New:
Lua Code:
  1. --Register LTF
  2. local libName, libVersion = "LibTableFunctions-1.0", 1
  3. local ltf = {}

Just change the calls to the libs in Ulrichs addons to LibTableFunctions instead of using LibStub.
Other addons using this lib need to adopt and should pretty fast "find out" that LibStub is not working anymore as they will get error messages here.
And I doubt much addons, except Ulrich, are using this lib at all.
Last edited by Baertram : 05/16/20 at 02:27 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: