From 9faea3d934936409f0b6cbacf248cefdda96c99f Mon Sep 17 00:00:00 2001 From: Naren Ranjit Date: Tue, 17 Nov 2015 12:15:48 -0800 Subject: [PATCH] change comment style for private --- src/service/asset-api-adapter.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/service/asset-api-adapter.js b/src/service/asset-api-adapter.js index e634515e..711de7d3 100644 --- a/src/service/asset-api-adapter.js +++ b/src/service/asset-api-adapter.js @@ -148,13 +148,14 @@ module.exports = function (config) { } return urlConfig.getAPIPath(apiEndpoint) + parts.join('/') + filename; }; - /** - * Private function, all requests follow a more or less same approach to use the Asset API and the difference is the HTTP verb - * @param {String} `method` (Required) HTTP verb - * @param {String} `filename` (Required) Name of the file to delete/replace/create - * @param {Object} `params` (Optional) Body parameters to send to the Asset API - * @param {Object} `options` (Optional) Options object to override global options. - */ + + // Private function, all requests follow a more or less same approach to + // use the Asset API and the difference is the HTTP verb + // + // @param {string} `method` (Required) HTTP verb + // @param {string} `filename` (Required) Name of the file to delete/replace/create + // @param {object} `params` (Optional) Body parameters to send to the Asset API + // @param {object} `options` (Optional) Options object to override global options. var upload = function (method, filename, params, options) { validateFilename(filename); // make sure the parameter is clean