1fc1c90941
Without it, it cannot be focused, so the user cannot click on it and have the canvas receive events. For example, emscripten_set_keypress_callback("#canvas", 0, 1, key_callback); (note #canvas) will just not receive any events. Set a value of -1, which just means 'focusable' and does not include it in the tab ordering, which is the same as before. |
||
---|---|---|
.circleci | ||
cmake/Modules | ||
docs | ||
media | ||
site | ||
src | ||
system | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.flake8 | ||
.gitattributes | ||
.gitignore | ||
.style.yapf | ||
.travis.yml | ||
AUTHORS | ||
CONTRIBUTING.md | ||
ChangeLog.md | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
em++ | ||
em++.bat | ||
em++.py | ||
em-config | ||
em-config.bat | ||
emar | ||
emar.bat | ||
emar.py | ||
embuilder.py | ||
emcc | ||
emcc.bat | ||
emcc.py | ||
emcmake | ||
emcmake.bat | ||
emcmake.py | ||
emconfigure | ||
emconfigure.bat | ||
emconfigure.py | ||
emlink.py | ||
emmake | ||
emmake.bat | ||
emmake.py | ||
emranlib | ||
emranlib.bat | ||
emrun | ||
emrun.bat | ||
emrun.py | ||
emscons | ||
emscons.py | ||
emscripten-version.txt | ||
emscripten.py | ||
package.json |
README.md
Emscripten is an LLVM-to-JavaScript compiler. It takes LLVM bitcode - which can be generated
from C/C++, using llvm-gcc
(DragonEgg) or clang
, or any other language that can be
converted into LLVM - and compiles that into JavaScript, which can be run on the web (or
anywhere else JavaScript can run).
Links to demos, tutorial, FAQ, etc: https://github.com/kripken/emscripten/wiki
Main project page: http://emscripten.org
License
Emscripten is available under 2 licenses, the MIT license and the University of Illinois/NCSA Open Source License.
Both are permissive open source licenses, with little if any practical difference between them.
The reason for offering both is that (1) the MIT license is well-known, while (2) the University of Illinois/NCSA Open Source License allows Emscripten's code to be integrated upstream into LLVM, which uses that license, should the opportunity arise.
See LICENSE
for the full content of the licenses.