Quantcast

Make local copies of global references.

Johnny C. Lam [10-25-12 - 14:48]
Make local copies of global references.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@620 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleData.lua
diff --git a/OvaleData.lua b/OvaleData.lua
index c69df4b..24ea9b9 100644
--- a/OvaleData.lua
+++ b/OvaleData.lua
@@ -10,7 +10,7 @@
 OvaleData = LibStub("AceAddon-3.0"):NewAddon("OvaleData", "AceEvent-3.0")

 --<private-static-properties>
-local pairs, tonumber = pairs, tonumber
+local pairs, tonumber, tostring = pairs, tonumber, tostring
 local GetShapeshiftForm, GetSpellBookItemInfo, GetSpellBookItemName = GetShapeshiftForm, GetSpellBookItemInfo, GetSpellBookItemName
 local GetSpellInfo, GetSpellTabInfo, GetTalentInfo = GetSpellInfo, GetSpellTabInfo, GetTalentInfo
 local HasPetSpells, UnitBuff, UnitClass = HasPetSpells, UnitBuff, UnitClass