lipp / lua-websockets

Websockets for Lua.
http://lipp.github.com/lua-websockets/
MIT License
399 stars 114 forks source link

Hide internal variable from the world. #51

Closed moteus closed 9 years ago

coveralls commented 9 years ago

Coverage Status

Coverage increased (+0.08%) to 90.25% when pulling a8e8b7decbcebc42092f585c89da606841ad8dc9 on moteus:strict-sync-api into 86beeb4a603647cef4601c5119f0b7a9dd3b4ee3 on lipp:master.

lipp commented 9 years ago

.state initialization is moved to another file, but it is as visible to users as before (since its the same table). can you something more about your intention of this PR?

moteus commented 9 years ago

This is just metter of teste. With this PR client code should only provide functions.

lipp commented 9 years ago

ah ok, so we should remove .state = 'closed' from client_copas.lua as well.then i will merge