Improve Js2C converter (#1408)
* Rename 'jerry_targetjs.h' to 'jerry-targetjs.h', because we use dashes in filen ames instead of underscores. * Made destination and js souce directory configurable. * Updated esp8266 target to the recent changes. * Updated mbed and mbedos5 target to the recent changes. JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
@@ -25,14 +25,14 @@
|
||||
#include "jerryscript-mbed-launcher/launcher.h"
|
||||
#include "jerryscript-mbed-launcher/setup.h"
|
||||
|
||||
#include "jerry_targetjs.h"
|
||||
#include "jerry-targetjs.h"
|
||||
|
||||
DECLARE_JS_CODES;
|
||||
|
||||
/**
|
||||
* load_javascript
|
||||
*
|
||||
* Parse and run javascript files specified in jerry_targetjs.h
|
||||
* Parse and run javascript files specified in jerry-targetjs.h
|
||||
*/
|
||||
static int load_javascript() {
|
||||
for (int src = 0; js_codes[src].source; src++) {
|
||||
|
||||
Reference in New Issue
Block a user