6,834
edits
No edit summary |
No edit summary |
||
Line 63: | Line 63: | ||
-- item page types | -- item page types | ||
function p.showVariablePage(frame) | function p.showVariablePage(frame) | ||
local parts = { | local parts = { "Value", "Settable" } | ||
return p.showPage(frame, parts) | return p.showPage(frame, parts) | ||
end | end | ||
function p.showFunctionPage(frame) | function p.showFunctionPage(frame) | ||
local parts = { | local parts = { "Parameters", "Return", "Callbacks" } | ||
return p.showPage(frame, parts) | return p.showPage(frame, parts) | ||
end | end | ||
function p.showPropertyPage(frame) | function p.showPropertyPage(frame) | ||
local parts = { | local parts = { "Value", "Settable", "Types" } | ||
return p.showPage(frame, parts) | return p.showPage(frame, parts) | ||
end | end | ||
function p.showMethodPage(frame) | function p.showMethodPage(frame) | ||
local parts = { | local parts = { "Parameters", "Return", "Callbacks", "Types" } | ||
return p.showPage(frame, parts) | return p.showPage(frame, parts) | ||
end | end | ||
function p.showEventPage(frame) | function p.showEventPage(frame) | ||
local parts = { | local parts = { "Parameters", "Cancellable" } | ||
return p.showPage(frame, parts) | return p.showPage(frame, parts) | ||
end | end | ||
Line 113: | Line 113: | ||
table.insert(lines, "Available since "..p.since(frame).."<br>\n") | table.insert(lines, "Available since "..p.since(frame).."<br>\n") | ||
table.insert(lines, p.syntax(frame)) | table.insert(lines, p.syntax(frame)) | ||
table.insert(lines, p.description(frame)) | |||
return lines | return lines | ||
end | end |
edits