Changes

m
no edit summary
Line 2: Line 2:  
-- more generic interface and compositions (filtering, grouping, mapping, sorting, etc.)
 
-- more generic interface and compositions (filtering, grouping, mapping, sorting, etc.)
 
-- prevent clients from infinite loops
 
-- prevent clients from infinite loops
  −
local EquipmentData = require('Module:EquipmentData')
      
local Iterator = {}
 
local Iterator = {}
Line 34: Line 32:  
     if predKey then
 
     if predKey then
 
         pred = function(e)
 
         pred = function(e)
 +
            local EquipmentData = require('Module:EquipmentData')
 
             local obj = EquipmentData(e)
 
             local obj = EquipmentData(e)
 
             return obj[predKey](obj)
 
             return obj[predKey](obj)
cssedit, gkautomate
7,064

edits