mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- removed the last remnants of Ace2 (AceOO-2.0 and AceLibrary) thanks to a huge amount of help from ckknight for metatables
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
local AceOO = AceLibrary("AceOO-2.0")
|
||||
|
||||
-- 2 classes in the same file.. ugly but keeps the idea of
|
||||
-- "1 module = 1 file" intact
|
||||
|
||||
@ -8,7 +6,7 @@ local AceOO = AceLibrary("AceOO-2.0")
|
||||
-- MirrorBar --
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
local MirrorBar = AceOO.Class(IceBarElement)
|
||||
local MirrorBar = IceCore_CreateClass(IceBarElement)
|
||||
|
||||
MirrorBar.prototype.timer = nil
|
||||
MirrorBar.prototype.value = nil
|
||||
@ -155,7 +153,7 @@ end
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
|
||||
local MirrorBarHandler = AceOO.Class(IceElement)
|
||||
local MirrorBarHandler = IceCore_CreateClass(IceElement)
|
||||
|
||||
MirrorBarHandler.prototype.bars = nil
|
||||
|
||||
|
Reference in New Issue
Block a user