Un-LibStub itemsearch

This commit is contained in:
tekkub ʕ ´ᴥ` ʔ 2016-09-11 04:10:05 -06:00
parent e85695c348
commit cc1c0f9fc9
2 changed files with 11 additions and 5 deletions

View File

@ -2,7 +2,9 @@
local myname, ns = ... local myname, ns = ...
local ItemSearch = LibStub('LibItemSearch-1.0') local ItemSearch = ns.LibItemSearch
ns.LibItemSearch = nil
local NUMROWS, SCROLLSTEP = 14, 5 local NUMROWS, SCROLLSTEP = 14, 5

View File

@ -18,9 +18,13 @@
I kindof half want to make a full parser for this I kindof half want to make a full parser for this
--]] --]]
local MAJOR, MINOR = "LibItemSearch-1.0", 3 -- local MAJOR, MINOR = "LibItemSearch-1.0", 3
local ItemSearch = LibStub:NewLibrary(MAJOR, MINOR) -- local ItemSearch = LibStub:NewLibrary(MAJOR, MINOR)
if not ItemSearch then return end -- if not ItemSearch then return end
local myname, ns = ...
ns.LibItemSearch = {}
local ItemSearch = ns.LibItemSearch
--[[ general search ]]-- --[[ general search ]]--