Commit 6994549a authored by rswindell's avatar rswindell
Browse files

Fixed a couple JSDOC issues.

parent 5f6105f3
......@@ -334,6 +334,9 @@ DLLCALL js_DescribeSyncObject(JSContext* cx, JSObject* obj, const char* str, int
if(js_str==NULL)
return(JS_FALSE);
if(ver < 10000) /* auto convert 313 to 31300 */
ver*=100;
return(JS_DefineProperty(cx,obj,"_description"
,STRING_TO_JSVAL(js_str),NULL,NULL,JSPROP_READONLY)
&& JS_DefineProperty(cx,obj,"_ver"
......@@ -369,11 +372,10 @@ static const char *js_type_str[] = {
"string",
"number",
"boolean",
"null",
"xml object",
"array",
"alias",
"undefined"
"undefined",
"null"
};
JSBool
......
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