Fix onCompilerChange when there is no compilers

If compilersByExe is undefined trying to access compiler.supportedOpts
throws an exception. This happens when gcc-explorer can't find available
compilers.
1 file changed
tree: 4f56d00843d053473383d329b6f1b4962f13708f
  1. .gitignore
  2. LICENSE
  3. Makefile
  4. Notes.md
  5. README.md
  6. app.js
  7. c-preload/
  8. d/
  9. etc/
  10. examples/
  11. lib/
  12. package.json
  13. static/
  14. test/
README.md

GCC Explorer

GCC Explorer is an interactive compiler. The left-hand pane shows editable C/C++ code. The right, the assembly output of having compiled the code with a given compiler and settings.

Try out the demo site!