From ce3561ca049ce99d6704a997c17b5e162d2acba5 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Wed, 22 Apr 2015 16:37:34 +0400 Subject: [PATCH] don't need this wall --- ElvUI_SLE/modules/sledatatexts/durability.lua | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/ElvUI_SLE/modules/sledatatexts/durability.lua b/ElvUI_SLE/modules/sledatatexts/durability.lua index 4c89484..435d1b7 100644 --- a/ElvUI_SLE/modules/sledatatexts/durability.lua +++ b/ElvUI_SLE/modules/sledatatexts/durability.lua @@ -58,16 +58,5 @@ local function OnEnter(self) DT.tooltip:Show() end ---[[ - DT:RegisterDatatext(name, events, eventFunc, updateFunc, clickFunc, onEnterFunc, onLeaveFunc) - - name - name of the datatext (required) - events - must be a table with string values of event names to register - eventFunc - function that gets fired when an event gets triggered - updateFunc - onUpdate script target function - click - function to fire when clicking the datatext - onEnterFunc - function to fire OnEnter - onLeaveFunc - function to fire OnLeave, if not provided one will be set for you that hides the tooltip. -]] DT:RegisterDatatext('Durability', {'PLAYER_ENTERING_WORLD', "UPDATE_INVENTORY_DURABILITY", "MERCHANT_SHOW"}, OnEvent, nil, Click, OnEnter) -- 1.7.9.5