mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix fromJS method
This commit is contained in:
@ -68,6 +68,8 @@ namespace NSJSON
|
||||
|
||||
static CValue fromJS(JSSmart<NSJSBase::CJSValue> jsValue)
|
||||
{
|
||||
if (!jsValue.is_init())
|
||||
return CValue::CreateUndefined();
|
||||
if (jsValue->isUndefined())
|
||||
return CValue::CreateUndefined();
|
||||
if (jsValue->isNull())
|
||||
|
||||
Reference in New Issue
Block a user