Skip to content
Myr

remove jsdoc params for polymorphic functions

Before adoption: this commit came in with the history the project adopted, so no landing records it.

until jsdoc has a way to actually document them closes #2156

authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parent 95fa491 · Browse files · 2 files+0 added−21 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+0 added−21 removed

  • other:+0 added−21 removed

2 files+0 added−21 removed

modified:lib/application.js-3 removed
164 unmodified lines
165 *166 * If the _fn_ parameter is an express app, then it will be167 * mounted at the _route_ specified.168 *169 * @param {String|Function|Server} route170 * @param {Function|Server} fn171 * @return {app} for chaining169 * @api public170 */171172app.use = function(route, fn){
376 unmodified lines
modified:lib/response.js-18 removed
72 unmodified lines
73 * res.send('<p>some html</p>');74 * res.send(404, 'Sorry, cant find that');75 * res.send(404);76 *77 * @param {Mixed} body or status78 * @param {Mixed} body79 * @return {ServerResponse}77 * @api public78 */7980res.send = function(body){
94 unmodified lines
175 * res.json({ user: 'tj' });176 * res.json(500, 'oh noes!');177 * res.json(404, 'I dont have that');178 *182 * @param {Mixed} obj or status183 * @param {Mixed} obj184 * @return {ServerResponse}179 * @api public180 */181182res.json = function(obj){
38 unmodified lines
221 * res.jsonp({ user: 'tj' });222 * res.jsonp(500, 'oh noes!');223 * res.jsonp(404, 'I dont have that');224 *231 * @param {Mixed} obj or status232 * @param {Mixed} obj233 * @return {ServerResponse}225 * @api public226 */227228res.jsonp = function(obj){
80 unmodified lines
309 * }310 * });311 * });312 *322 * @param {String} path323 * @param {Object|Function} options or fn324 * @param {Function} fn313 * @api public314 */315316res.sendfile = function(path, options, fn){
65 unmodified lines
382 * ocurred. Be sure to check `res.headersSent` if you plan to respond.383 *384 * This method uses `res.sendfile()`.385 *398 * @param {String} path399 * @param {String|Function} filename or fn400 * @param {Function} fn386 * @api public387 */388389res.download = function(path, filename, fn){
382 unmodified lines
772 *773 * - `cache` boolean hinting to the engine it should cache774 * - `filename` filename of the view being rendered775 *791 * @param {String} view792 * @param {Object|Function} options or callback function793 * @param {Function} fn776 * @api public777 */778779res.render = function(view, options, fn){
22 unmodified lines