• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 36: Line 36:     
local function render(args)
 
local function render(args)
   local es = U.ifilter(data, function(e) return e.maparea_id == args.explicit.world end)
+
   local es = U.ifilter(data, function(e) return e.maparea_id == tonumber(args.explicit.world) end)
 
   return U.joinLines(U.imap(es, function(e)
 
   return U.joinLines(U.imap(es, function(e)
 
     return U.format{
 
     return U.format{
Line 56: Line 56:  
end
 
end
   −
local test = { explicit = { world = 7 } }
+
local test = { explicit = { world = '7' } }
 
-- print(p.test())
 
-- print(p.test())
    
return view(render, test)
 
return view(render, test)
cssedit, gkautomate
7,060

edits

Navigation menu