]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand/lua: Style pass
authorkevans <kevans@FreeBSD.org>
Sat, 17 Feb 2018 05:52:25 +0000 (05:52 +0000)
committerkevans <kevans@FreeBSD.org>
Sat, 17 Feb 2018 05:52:25 +0000 (05:52 +0000)
commit1d832237a0b3119573bce65bddaff3146a3c9bfc
tree10d934cc2f1c6b8f300327cf5b432b14f4c8e3b8
parent6e0636de9d42eecfaf04027ce677d3d6e59f0195
stand/lua: Style pass

These are the style points that I'd like to try and maintain in our lua
scripts:
- Parentheses around conditionals
- Trailing semicolons, except on block terminators
- s:method(...) instead of string.method(s, ...) where applicable

There's likely more, but that'll get hammered out as we continue.
stand/lua/color.lua
stand/lua/config.lua
stand/lua/core.lua
stand/lua/drawer.lua
stand/lua/menu.lua
stand/lua/password.lua
stand/lua/screen.lua