check project code style. add .luacheckrc (#7)

This commit is contained in:
Maxim Tuprikov
2019-03-29 00:45:46 +03:00
committed by GitHub
parent 235476fee4
commit 12f5f22b69
12 changed files with 328 additions and 247 deletions

View File

@@ -4,12 +4,15 @@ local ADD_FOCUS = hash("acquire_input_focus")
local REMOVE_FOCUS = hash("release_input_focus")
local PATH_OBJ = "."
function M.focus()
msg.post(PATH_OBJ, ADD_FOCUS)
msg.post(PATH_OBJ, ADD_FOCUS)
end
function M.remove()
msg.post(PATH_OBJ, REMOVE_FOCUS)
msg.post(PATH_OBJ, REMOVE_FOCUS)
end
return M