From ad347e517c1da8992a44d6d7ff6d977b09db0704 Mon Sep 17 00:00:00 2001 From: crandmck Date: Wed, 11 Jun 2014 14:55:47 -0700 Subject: [PATCH] JSDoc fixes --- lib/models/model.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/models/model.js b/lib/models/model.js index fdeea317..7a9dc296 100644 --- a/lib/models/model.js +++ b/lib/models/model.js @@ -136,13 +136,11 @@ Model._ACL = function getACL(ACL) { * Check if the given access token can invoke the method * * @param {AccessToken} token The access token - * @param {*} modelId The model id - * @param {SharedMethod} sharedMethod - * @param callback The callback function - * - * @callback {Function} callback + * @param {*} modelId The model ID. + * @param {SharedMethod} sharedMethod The method in question + * @callback {Function} callback The callback function * @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) { var ANONYMOUS = require('./access-token').ANONYMOUS;