-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
- Namespaces show constructors even though they shouldn't, according to http://code.google.com/p/jsdoc-toolkit/wiki/TagNamespace
- Namespaces display "methods", even though they most likely should be labeled as functions.
- Namespaces have an always blank "Namespace Detail" part
A file that shows this failure:
/** * @namespace Holds static functions for HTTP abstraction that works like cbNetwork equivalent. */ var HTTP = {}; /** * Creates a HTTP GET request and calls the callback with the results. * * @requires http, url * * @param {String} url Address to GET * @param {Function} cb function (statusCode, data) { } statusCode will be 0 on failure */ HTTP.get = function (url, cb) { var urlObj = urlParser.parse(url); http.get({ host: urlObj.hostname, port: 80, path: urlObj.path, agent: false // Let's wait for the server's response }, function (res) { var data = ''; // Some data received res.on('data', function (chunk) { data += chunk; }); // All done res.on('end', function () { cb(res.statusCode, data); }); // Something went wrong before we got our response }).on('error', function (e) { cb(0, e.message); }); };
Metadata
Metadata
Assignees
Labels
No labels