mvader/events.lua — pull request #1 by Yonaba (2013-04-14 18:48:43+00:00)
Title: Local vs Global, naming conventions

Hi @mvader,

I came accross your code, and I like what is coming. I just wanted to submit a few changes. You might want to keep avoiding globals variables with Lua, and use locals are instead. I just wrapped the API functions to a local table returned to require, which makes the usage a bit different, see the Readme example updated. I also used camel case style for functions names.

Best regards,
Roland.