6,834
edits
No edit summary |
No edit summary |
||
Line 893: | Line 893: | ||
local text1 | local text1 | ||
if args.type == 'property' then | if args.type == 'property' then | ||
text1 = 'Properties use the dot "." operator in JS, Lua, and Squirrel' | text1 = 'Properties use the dot "." operator in JS, Lua, and Squirrel.' | ||
else | else | ||
text1 = 'Methods use the dot "." operator in JS and Squirrel, or the colon operator ":" in Lua' | text1 = 'Methods use the dot "." operator in JS and Squirrel, or the colon operator ":" in Lua.' | ||
end | end | ||
rows[1] = { "<span style=\"font-family: 'Source Code Pro', monospace;\">"..p.properCase(parts[1]).."</span>", "Object", "GTAC Types: Userdata type in Lua and Squirrel, or Object type in JS" } | rows[1] = { "<span style=\"font-family: 'Source Code Pro', monospace;\">"..p.properCase(parts[1]).."</span>", "Object", "GTAC Types: Userdata type in Lua and Squirrel, or Object type in JS." } | ||
rows[2] = { "<span style=\"font-family: 'Source Code Pro', monospace;\">"..parts[2].."</span>", p.properCase(args.type), text1 } | rows[2] = { "<span style=\"font-family: 'Source Code Pro', monospace;\">"..parts[2].."</span>", p.properCase(args.type), text1 } | ||
end | end |
edits