Skip to content
Snippets Groups Projects
Commit 9ddb94c6 authored by rswindell's avatar rswindell
Browse files

Fix typos in JSDOCS.

parent 3a0825c6
No related branches found
No related tags found
No related merge requests found
...@@ -1045,7 +1045,7 @@ static jsSyncMethodSpec js_functions[] = { ...@@ -1045,7 +1045,7 @@ static jsSyncMethodSpec js_functions[] = {
"<tr><td>\"SDL\"</td><td>Use the SDL library for output.</td></tr><tr><td>" "<tr><td>\"SDL\"</td><td>Use the SDL library for output.</td></tr><tr><td>"
"<tr><td>\"SDL_FULLSCREEN\"</td><td>Use the SDL library for output (fullscreen).</td></tr><tr><td>" "<tr><td>\"SDL_FULLSCREEN\"</td><td>Use the SDL library for output (fullscreen).</td></tr><tr><td>"
"<tr><td>\"SDL_YUV\"</td><td>Use the SDL library for output using an overlay which allows hardware-based arbitrary scaling.</td></tr><tr><td>" "<tr><td>\"SDL_YUV\"</td><td>Use the SDL library for output using an overlay which allows hardware-based arbitrary scaling.</td></tr><tr><td>"
"<tr><td>\"SDL_YUV\"</td><td>Use the SDL library for output using an overlay which allows hardware-based arbitrary scaling (fullscreen).</td></tr><tr><td></table>" "<tr><td>\"SDL_YUV_FULLSCREEN\"</td><td>Use the SDL library for output using an overlay which allows hardware-based arbitrary scaling (fullscreen).</td></tr><tr><td></table>"
),315 ),315
}, },
{"suspend", js_conio_suspend, 0 {"suspend", js_conio_suspend, 0
......
...@@ -2860,7 +2860,7 @@ js_listening_socket_constructor(JSContext *cx, uintN argc, jsval *arglist) ...@@ -2860,7 +2860,7 @@ js_listening_socket_constructor(JSContext *cx, uintN argc, jsval *arglist)
#ifdef BUILD_JSDOCS #ifdef BUILD_JSDOCS
js_DescribeSyncObject(cx,obj,"Class used for incoming TCP/IP socket communications",317); js_DescribeSyncObject(cx,obj,"Class used for incoming TCP/IP socket communications",317);
js_DescribeSyncConstructor(cx,obj,"To create a new ListeningSocket object: " js_DescribeSyncConstructor(cx,obj,"To create a new ListeningSocket object: "
"<tt>load('sockdefs.js'); var s = new ListeningSocket(<i>interface</i>, <i>port</i> ,<i>protocol</i>, {domain:<i>domain</i>, type:<i>type</i>, proto:<i>proto</i>, retry_count:<i>retry_count</i>, retry_delay:<i>retry_delay</i>)</tt><br>" "<tt>load('sockdefs.js'); var s = new ListeningSocket(<i>interface</i>, <i>port</i> ,<i>protocol</i>, {domain:<i>domain</i>, type:<i>type</i>, proto:<i>proto</i>, retry_count:<i>retry_count</i>, retry_delay:<i>retry_delay</i>})</tt><br>"
"where <i>interface</i> = A array or strings or a single string of hostnames or address optionally including a :port suffix<br>" "where <i>interface</i> = A array or strings or a single string of hostnames or address optionally including a :port suffix<br>"
"<i>port</i> = a port to use when the interface doesn't specify one<br>" "<i>port</i> = a port to use when the interface doesn't specify one<br>"
"<i>protocol</i> = protocol name, used for socket options and logging.<br>" "<i>protocol</i> = protocol name, used for socket options and logging.<br>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment