-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkg/jerryscript: update to latest commit #9285
Conversation
Hi @Lydrin ! Welcome to RIOT and thanks for your contribution. Just as a reminder (maybe you have already seen it in the contributions doc), we enforce the commit messages in the format of I'll take a look soon and give feedback. Thanks again! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for the changes, they're legit and improve the example with few more checks. I have just a minor comment, with that addressed I'm ok to merge.
@kaspar030 would this break some of your applications?
examples/javascript/main.c
Outdated
@@ -29,32 +29,38 @@ | |||
/* include header generated from main.js */ | |||
#include "main.js.h" | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This extra line is not needed.
@kaspar030 ping! |
Maybe, but I'll adapt acordingly. go ahead with this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK.
Contribution description
I updated the Makefile into pkg/javascript with the latest commit of JerryScript so that the API on JerryScript : http://jerryscript.net/api-reference/ is up to date with RIOT package version.
Issues/PRs references
The function used before are no longer supported by JerryScript, such as :
RIOT/examples/javascript/main.c
Line 45 in 28f2eaa
(See this PR on JerryScript :
jerryscript-project/jerryscript@ba2e49c )
Also, the jerry_parse function used here :
RIOT/examples/javascript/main.c
Line 43 in 28f2eaa
Is no longer supported by JerryScript since this PR :
jerryscript-project/jerryscript@96b528a