Update the webpage (#2334)

JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
László Langó
2018-05-17 07:40:49 +02:00
committed by yichoi
parent dc12458382
commit f97f82f7be
9 changed files with 152 additions and 108 deletions
+2 -2
View File
@@ -71,7 +71,7 @@ behaviour through property getting and setting.
* prop_value contains a live reference to an error object.
* This reference must be released as well. */
if (jerry_value_has_error_flag (prop_value))
if (jerry_value_is_error (prop_value))
{
/* Errors can be handled here. */
}
@@ -103,7 +103,7 @@ behaviour through property getting and setting.
/* The reference stored in the 'result' variable is live whether
* the operation is successful or not, and must also be freed. */
if (jerry_value_has_error_flag (result))
if (jerry_value_is_error (result))
{
/* Errors can be handled here. */
}