Permalink
Browse files

annotate better

  • Loading branch information...
1 parent 9a9bf8a commit 1cfa7e0f3e697454d009bad616a5032cdb7a0485 @petrjanda committed Apr 27, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/repository/couchRepository.js
@@ -6,7 +6,12 @@ var http = require('http'),
var instance = null;
/*
- * The only public action responsible to create single
+ * The only public action responsible to create single instance of
+ * the repository. Once the instance exists its returned, ignoring
+ * the passed options.
+ *
+ * @param {Object} Object containing database, host and port of
+ * the repository.
*/
exports.createRepository = function(options) {
if(!instance) {

0 comments on commit 1cfa7e0

Please sign in to comment.