Content deleted Content added
Jackmcbarn (talk | contribs) reduce variable scopes |
Jackmcbarn (talk | contribs) better variable name, and remove unnecessary table |
||
Line 530:
function p._reviewbox(reviewBoxArgs)
local flags = {}
local nitem = {}
Line 541 ⟶ 540:
custome_agg, custome_rev = #activeAggregators, #activeReviewers
local sortedArgKeys = {}
for k in pairs(args) do
if type(k) == 'string' then
table.insert(
end
end
table.sort(
-- creates a table of all unique reviewers.
for i=1,#
if string.find(tostring(
halfargs = Split(tostring(
for k=1, #reviewer do
if reviewer[k][2] == halfargs[1] then
Line 562 ⟶ 561:
end
end
elseif string.find(tostring(
for k=1, #reviewer do
if reviewer[k][2] ==
nitem[j] =
j = j + 1
end
Line 578 ⟶ 577:
local j = 1
-- creates a table of all unique aggregators.
for i=1,#
if string.find(tostring(
halfargs = Split(tostring(
for k=1, #aggregator do
if aggregator[k][2] == halfargs[1] then
Line 590 ⟶ 589:
end
end
elseif string.find(tostring(
for k=1, #aggregator do
if aggregator[k][2] ==
nitem[j] =
j = j + 1
end
|