This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
unleashed-firmware
Watch
1
Fork
0
You've already forked unleashed-firmware
mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced
2025-12-12 12:42:30 +04:00
Code
Issues
Activity
Files
217bfac2fc8d281f6ba496e6a42786fef38ec606
unleashed-firmware
/
applications
/
system
/
js_app
/
examples
/
apps
/
Scripts
/
load.js
3 lines
94 B
JavaScript
Raw
Normal View
History
Unescape
Escape
mjs: minor fixes (#3442) * lib: mjs: removed relocation flags * js: fixed api example script * js: private api cleanup * Updated CODEOWNERS & readme for apps
2024-02-12 14:16:58 +00:00
let
math
=
load
(
"/ext/apps/Scripts/load_api.js"
)
;
[FL-3579, FL-3601, FL-3714] JavaScript runner (#3286) * FBT: cdefines to env, libs order * API: strtod, modf, itoa, calloc * Apps: elk js * Apps: mjs * JS: scripts as assets * mjs: composite resolver * mjs: stack trace * ELK JS example removed * MJS thread, MJS lib modified to support script interruption * JS console UI * Module system, BadUSB bindings rework * JS notifications, simple dialog, BadUSB demo * Custom dialogs, dialog demo * MJS as system library, some dirty hacks to make it compile * Plugin-based js modules * js_uart(BadUART) module * js_uart: support for byte array arguments * Script icon and various fixes * File browser: multiple extensions filter, running js scripts from app loader * Running js scripts from archive browser * JS Runner as system app * Example scripts moved to /ext/apps/Scripts * JS bytecode listing generation * MJS builtin printf cleanup * JS examples cleanup * mbedtls version fix * Unused lib cleanup * Making PVS happy & TODOs cleanup * TODOs cleanup #2 * MJS: initial typed arrays support * JS: fix mem leak in uart destructor Co-authored-by: SG <who.just.the.doctor@gmail.com> Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-02-12 11:54:32 +03:00
let
result
=
math
.
add
(
5
,
10
)
;
print
(
result
)
;
Copy Permalink