Quantcast

Upvalued pairs() and select()

James D. Callahan III [03-04-11 - 07:11]
Upvalued pairs() and select()
Filename
Waypoint.lua
diff --git a/Waypoint.lua b/Waypoint.lua
index 467fefa..2d7a8fa 100644
--- a/Waypoint.lua
+++ b/Waypoint.lua
@@ -17,9 +17,10 @@
 local _G = getfenv(0)

 local table = _G.table
-
 local string = _G.string

+local pairs, select = _G.pairs, _G.select
+
 -------------------------------------------------------------------------------
 -- AddOn namespace.
 -------------------------------------------------------------------------------