DengYun
DengYun
This is a hard work now, cause currently I use function to make variables in correct block. You can try #4 at [luajs.org](http://luajs.org), compile can give result, but break will...
The other reason to rewrite lua.js is we can use Proxy to optimize the way that metatable works. This could make lua.js run 25%-100% faster.
This should be fixed in recent commits. I'll update web version later.
A sample for overload. ``` lua -- @slot draw -- @name drawText -- @argument QString -- @return void function Window:drawText() end -- @slot draw -- @name drawBitmap -- @argument QBitmap...
Base meta-language was done. But there's some problem with overload. Keep working.
@manweill 我是觉得这种场合用函数形式更为通用一些。你可以做个简单的封装。 ```javascript function validateGroup(reqArray, msgArray){ return (value) => { return msgArray[reqArray.findIndex(v => !v.test(value))]; } } @validate(validateGroup([/^.+$/, /^[abc]+$/, /^[abc]{3}$/], ['请输入密码', '只能有abc', '必须是3位字符'])) ```
这是不是在组件里写的action? _onFocus = action(()=> { }); 这样试试?
@nonphp You can try my incoming pr #10
@Josema You can try my fork or modify that line manually and use `patch-package` to keep the changed line., this pr is still not merged.