ladybird/Userland
Linus Groh bdd7741ae1 js: Consolidate and re-implement the load() function
This replaces the two sloppy copies of the load() function with a
cleaned up implementation:

- Only use the first argument, to load multiple files just call the
  function multiple times
- Fix a crash when using any non-string argument
- Throw an error if the file can't be opened instead of logging to
  stderr
- Don't use parse_and_run(), which would print the AST of the loaded
  file when using -A, for example - it's used either way as the entry
  point in both REPL and non-REPL mode, so we already get exception
  handling and all that
2021-05-26 01:04:09 +01:00
..
Applets LibCore: Make ProcessStatisticsReader return results in a Vector 2021-05-23 11:10:15 +02:00
Applications HexEditor: Construct Find dialog from GML 2021-05-25 13:17:28 +01:00
Demos Revert "Userland: static vs non-static constexpr variables" 2021-05-21 10:30:52 +01:00
DevTools Profiler: Hide timeline scrollbars if we don't need them :^) 2021-05-25 19:04:17 +02:00
DynamicLoader DynamicLoader: Remove math functionality in favor of -lgcc 2021-05-07 15:35:50 +02:00
Games Solitaire: Persist high score separately per game mode 2021-05-25 21:20:50 +02:00
Libraries LibCore: Handle partial writes in Socket::send() 2021-05-25 22:20:37 +02:00
Services LibGfx: Use anonymous buffer instead of raw anon_fd for Gfx::Bitmap 2021-05-24 13:31:01 +02:00
Shell LibLine+Shell: Allow some programs to modify the current termios 2021-05-24 23:26:49 +04:30
Utilities js: Consolidate and re-implement the load() function 2021-05-26 01:04:09 +01:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00