mirror of
https://github.com/leafo/moonscript.git
synced 2024-12-24 01:04:21 +00:00
more whitespace sepcs for table
This commit is contained in:
parent
5e162e22a5
commit
adccbadf18
@ -123,7 +123,21 @@ kam = {
|
||||
one_thing =>
|
||||
}
|
||||
|
||||
-- TODO: both of these have undesirable output
|
||||
keepit going: true,
|
||||
okay: "yeah",
|
||||
workd: "okay"
|
||||
|
||||
thing what:
|
||||
"great", no:
|
||||
"more"
|
||||
okay: 123
|
||||
|
||||
|
||||
--
|
||||
thing what:
|
||||
"great", no:
|
||||
"more"
|
||||
okay: 123 -- a anon table
|
||||
|
||||
nil
|
||||
|
@ -152,9 +152,23 @@ local kam = {
|
||||
"two"
|
||||
}] = one_thing(function(self) end)
|
||||
}
|
||||
return keepit({
|
||||
keepit({
|
||||
going = true
|
||||
}, {
|
||||
okay = "yeah",
|
||||
workd = "okay"
|
||||
})
|
||||
thing({
|
||||
what = "great",
|
||||
no = "more"
|
||||
}, {
|
||||
okay = 123
|
||||
})
|
||||
thing({
|
||||
what = "great",
|
||||
no = "more"
|
||||
})
|
||||
local _ = {
|
||||
okay = 123
|
||||
}
|
||||
return nil
|
Loading…
Reference in New Issue
Block a user