Commit b3c53f4c authored by deuce's avatar deuce
Browse files

Attempt to fix JSDOCS builds.

parent df58d4a9
......@@ -510,16 +510,20 @@ DLLCALL js_SyncResolve(JSContext* cx, JSObject* obj, char *name, jsSyncPropertyS
{
JSBool ret=JS_TRUE;
if(props)
if(props) {
if(!js_DefineSyncProperties(cx, obj, props))
ret=JS_FALSE;
}
if(funcs)
if(!js_DefineSyncMethods(cx, obj, funcs))
if(funcs) {
if(!js_DefineSyncMethods(cx, obj, funcs, 0))
ret=JS_FALSE;
}
if(consts)
if(!js_DefineConstIntegers(JSContext* cx, JSObject* obj, consts, flags)
if(consts) {
if(!js_DefineConstIntegers(cx, obj, consts, flags))
ret=JS_FALSE;
}
return(ret);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment