-
Notifications
You must be signed in to change notification settings - Fork 686
Update API reference #1160
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
Update API reference #1160
Conversation
docs/API-REFERENCE.md
Outdated
| jerry_flag_t flags); | ||
| ``` | ||
| - `script_source` - source code; |
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.
mention that it needs to be a valid utf8 string
dc7f919 to
75c897d
Compare
docs/API-REFERENCE.md
Outdated
| - `script_source` - source code, it must be a valid utf8 string. | ||
| - `script_source_size` - size of source code buffer, in bytes. | ||
| - return value - completion code that indicates whether run was performed |
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.
"whether the"
and it seems the alignment below is strange
|
After the minor changes, LGTM. |
75c897d to
536f442
Compare
docs/API-REFERENCE.md
Outdated
| - `script_source` - source code, it must be a valid utf8 string. | ||
| - `script_source_size` - size of source code buffer, in bytes. | ||
| - return value - completion code that indicates whether the run was performed successfully |
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.
run was performed feels a bit weird to me. Could we say something like completion code, indicating whether execution was successful?
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.
Sure, I'll update them.
docs/API-REFERENCE.md
Outdated
|
|
||
| Create new JavaScript object, like with `new Object()`. | ||
|
|
||
| *Note*: Upon the JavaScript object becomes unused, all pointers to it should be released using |
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.
Same as above
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
536f442 to
388b442
Compare
|
LGTM |
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com