Skip to content
This repository was archived by the owner on Dec 17, 2018. It is now read-only.
This repository was archived by the owner on Dec 17, 2018. It is now read-only.

Problem with alert "input:" in io.read() call #58

@KataPi

Description

@KataPi

Hi daurnimator,
I'm not a programmer. I know js on a basic level and I'm learning Lua.
I love your work and it helps me to develop scripts locally.

Local and online (http://daurnimator.github.io/lua.vm.js/repl.html link from GitHub) when I call io.read() lua.vm.js returns me an allert window ("input: ") and then another one and then another one ...
mee=io.read() print(mee)

In google I found http://kripken.github.io/mloc_emscripten_talk/lua/repl.html#
This works well. In io.read () call it give me back only one alert. It works!
It's a bug? It's my browser??

Html from second link (http://kripken.github.io/mloc_emscripten_talk/lua/repl.html#) page not work in local with lua.vm.js from your GitHub.
What can I do?
Can you give me vm from http://kripken.github.io/mloc_emscripten_talk/lua/repl.html# ?
or can you fix vm in GitHub?

Tks
Kata

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions