JSDoc fixes

This commit is contained in:
crandmck 2014-06-11 14:55:47 -07:00
parent 14c73cbe9d
commit ad347e517c
1 changed files with 4 additions and 6 deletions

View File

@ -136,13 +136,11 @@ Model._ACL = function getACL(ACL) {
* Check if the given access token can invoke the method * Check if the given access token can invoke the method
* *
* @param {AccessToken} token The access token * @param {AccessToken} token The access token
* @param {*} modelId The model id * @param {*} modelId The model ID.
* @param {SharedMethod} sharedMethod * @param {SharedMethod} sharedMethod The method in question
* @param callback The callback function * @callback {Function} callback The callback function
*
* @callback {Function} callback
* @param {String|Error} err The error object * @param {String|Error} err The error object
* @param {Boolean} allowed is the request allowed * @param {Boolean} allowed True if the request is allowed; false otherwise.
*/ */
Model.checkAccess = function(token, modelId, sharedMethod, callback) { Model.checkAccess = function(token, modelId, sharedMethod, callback) {
var ANONYMOUS = require('./access-token').ANONYMOUS; var ANONYMOUS = require('./access-token').ANONYMOUS;