mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
It also contains small refactoring steps: * Added a main() function - instead of just writing all the code into the "if name" block - to avoids creating global variables that could affect other functions. * Added a `write_pins_to_files` function - which writes the generated pins into the output JS and C++ files - to avoid too many local variables. JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com