Comparing version 1.7.1 to 1.8.0
@@ -60,3 +60,6 @@ var util = require('./util.js'), | ||
dox.forEach(function(d) { | ||
var alias, returns; | ||
var returns, access; | ||
var access = getTag(d.tags, 'access'); | ||
// do not generate documentation for private members | ||
if (access && access.string === 'private') return; | ||
var name = '', mod; | ||
@@ -63,0 +66,0 @@ if (alias = getTag(d.tags, ['alias', 'function', 'func', 'method'])) { |
{ | ||
"name": "doxme", | ||
"version": "1.7.1", | ||
"version": "1.8.0", | ||
"description": "create markdown docs for dox output", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -50,3 +50,9 @@ var test = require('tape'), | ||
}); | ||
t.test('private', function(t) { | ||
var result = doxme(dox.parseComments(fs.readFileSync('./test/private.js', 'utf8'))); | ||
if (process.env.UPDATE) { fs.writeFileSync('test/private.md', result); } | ||
t.equal(result, fs.readFileSync('test/private.md', 'utf8')); | ||
t.end(); | ||
}); | ||
t.end(); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14905
19
219
8