ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   LibDialog will remove LibStub support with Greymoor API10031 update (https://www.esoui.com/forums/showthread.php?t=9106)

Baertram 04/25/20 03:10 PM

LibDialog will remove LibStub support with Greymoor API10031 update
 
LibDialog will remove LibStub support with the Greymoor API100031 update.
Please use the global variable "LibDialog" in your addons instead!

In your code change lines like this:
Code:

local ld = LibStub("LibDialog")
to this:
Lua Code:
  1. local ld = LibDialog

In your addon's txt manifest file:
Use the same ## OptionaDependsOn: LibDialog or ## DependsOn: LibDialog
You should remove any OptionalDependsOn or DependsOn: LibStub though if none of the libraries in your addon need it anymore.


All times are GMT -6. The time now is 11:01 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI