mherkender / lua.js

An ECMAscript framework to compile and run Lua code, allowing Lua to run in a browser or in Flash
http://blog.brokenfunction.com/
600 stars 73 forks source link

getmetatable does not return list #12

Closed jimbauwens closed 12 years ago

jimbauwens commented 12 years ago

getmetatable returns the metatable directly instead of putting it in a list.  I assume that this is a bug and not intentional. As far as I can see it caused issues in my code.