[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] lua5.1.js
- From: Alexander Gladysh <agladysh@...>
- Date: Mon, 16 Sep 2013 11:02:02 +0400
On Mon, Sep 16, 2013 at 4:45 AM, Vadim Peretokin <firstname.lastname@example.org> wrote:
> Is this for the Lua C api only, or does it allow running plain Lua script in
> the browser?
Not sure I understand the question.
Example does just that, no?
if (C.luaL_dostring(L, "ALERT('Hello, world')") != 0)
Or do you mean <script type="text/lua">, as in lua.vm.js?
It is rather trivial to do:
In the TODO list anyway, pull requests are welcome.