Skip to content

Commit

Permalink
Correct docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
lboynton committed Apr 3, 2012
1 parent f80e947 commit 01c4b77
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions ping/strophe.ping.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ Strophe.addConnectionPlugin('ping', {
* Function: ping
*
* Parameters:
* (String) to - the JID you want to ping
* (Function) success - Callback function on success
* (Function) error - Callback function on error
* (String) to - The JID you want to ping
* (Function) success - Callback function on success
* (Function) error - Callback function on error
* (Integer) timeout - Timeout in milliseconds
*/
ping: function(jid, success, error, timeout)
{
Expand All @@ -41,9 +42,7 @@ Strophe.addConnectionPlugin('ping', {
* Function: pong
*
* Parameters:
* (Object) ping -
* (Function) success -
* (Function) error -
* (Object) ping - The ping stanza from the server
*/
pong: function(ping)
{
Expand Down

0 comments on commit 01c4b77

Please sign in to comment.