Hide private methods from jsdocs

This commit is contained in:
Raymond Feng 2015-07-27 09:15:25 -07:00
parent 9e5c46a2b8
commit 5ec7a9bb34
2 changed files with 4 additions and 2 deletions

View File

@ -151,10 +151,11 @@ function buildModelOptionsFromConfig(config) {
return options;
}
/*
/**
* Add the acl entry to the acls
* @param {Object[]} acls
* @param {Object} acl
* @private
*/
function addACL(acls, acl) {
for (var i = 0, n = acls.length; i < n; i++) {

View File

@ -12,8 +12,9 @@ var debug = require('debug')('loopback:middleware:token');
module.exports = token;
/*
/**
* Rewrite the url to replace current user literal with the logged in user id
* @private
*/
function rewriteUserLiteral(req, currentUserLiteral) {
if (req.accessToken && req.accessToken.userId && currentUserLiteral) {