alibaba / wax

Wax is a framework that lets you write native iPhone apps in Lua.
http://github.com/probablycorey/wax
MIT License
1.84k stars 280 forks source link

wax attempt to call global 'toblock' (a nil value) #32

Closed jxwjr2003 closed 8 years ago

jxwjr2003 commented 8 years ago

when I use block in lua, it returns this error. This code is exactly the same as the examples, I do not know why. How do I solve this problem? thanks a lot.

jxwjr2003 commented 8 years ago

it is my fault.

lovecactus commented 8 years ago

I've got the exactly same issue. It's likely wax don't have this syntax (toblock)? Any suggestion what's the possible reason?