Permalink
Browse files

JS doccomments fixes

  • Loading branch information...
Sannis committed Sep 10, 2012
1 parent e6e0762 commit 5d854ddf3ec160c1197dc2638ee0f2f9d607917f
Showing with 5 additions and 3 deletions.
  1. +5 −3 lib/mysql-libmysqlclient.js
@@ -71,12 +71,12 @@ for (var key in bindings) {
* Asynchronous MySQL bindings for Node.js
**/
-/** internal
+/*!
* parseDSN(dsn) -> Array
* -dsn(String): DSN
*
* Parses DSN to connect() arguments array
- */
+ **/
function parseDSN(dsn) {
var args;
@@ -111,6 +111,7 @@ function parseDSN(dsn) {
/** section: Exports
* MysqlLibmysqlclient.createConnectionSync(hostname[, user[, password[, database[, port[, socket[, flags]]]]]]) -> MysqlConnection
+ * MysqlLibmysqlclient.createConnectionSync(dsn) -> MysqlConnection
*
* Creates connection to database
*
@@ -135,7 +136,8 @@ exports.createConnectionSync = function createConnectionSync() {
};
/** section: Exports
- * MysqlLibmysqlclient.createConnection(hostname[, user[, password[, database[, port[, socket[, flags]]]]][, callback])
+ * MysqlLibmysqlclient.createConnection(hostname[, user[, password[, database[, port[, socket[, flags]]]]], callback)
+ * MysqlLibmysqlclient.createConnection(dsn, callback)
*
* Creates connection to database
*

0 comments on commit 5d854dd

Please sign in to comment.