Commit Graph
8 Commits
Author SHA1 Message Date
Kaan Soral a0847bd63c JSON API to save bandwidth and prevent double encoding 2026-01-01 13:10:41 +03:00
FreezePhoenix 23abfd1a70 Update functions.js to add destat_item function 2024-03-03 16:26:28 -05:00
Kaan Soral 4930cd067e Merge pull request #102 from FreezePhoenix/patch-9
Fix small bug with async code snippets
2024-02-21 16:05:06 +03:00
FreezePhoenix 2103f66304 Update functions.js to add toggle_merchant 2024-02-17 09:33:06 -05:00
FreezePhoenix 63c74df302 Update functions.js to additionally pass the index of the computer 2024-02-14 21:46:57 -05:00
FreezePhoenix 48b64809e2 Pass computer type to render_computer_network 2024-02-14 21:42:09 -05:00
FreezePhoenix 934e0e16ac Fix small bug with async code snippets
If a code snippet used await, and had a line comment on the last line, it would fail to run:
```js
await sleep(1000);
show_json(100);
// show_json(200);
```
This is because the line comment would end up cutting off the end of the async function wrapper that `code_eval` creates.
2024-01-27 14:39:33 -05:00
Kaan Soral 553b121f17 Open source 2023-10-15 13:06:58 +03:00