Initial update of comments to JSDoc format.
diff --git a/js/WebSocketTransport.js b/js/WebSocketTransport.js
index bc2a3e7..6365bcb 100644
--- a/js/WebSocketTransport.js
+++ b/js/WebSocketTransport.js
@@ -3,6 +3,9 @@
* See COPYING for copyright and distribution information.
*/
+/**
+ * @constructor
+ */
var WebSocketTransport = function WebSocketTransport() {
if (!WebSocket)
throw new Error("WebSocket support is not available on this platform.");
@@ -17,7 +20,7 @@
9696);
};
-/*
+/**
* Connect to the host and port in ndn. This replaces a previous connection and sets connectedHost
* and connectedPort. Once connected, call onopenCallback().
* Listen on the port to read an entire binary XML encoded element and call
@@ -83,7 +86,7 @@
}
};
-/*
+/**
* Send the Uint8Array data.
*/
WebSocketTransport.prototype.send = function(data) {