Skip to content

Commit

Permalink
Update inline documentation of public api
Browse files Browse the repository at this point in the history
  • Loading branch information
danmactough committed Oct 9, 2012
1 parent cb9a385 commit b0561b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ var sax = require('sax')
/** /**
* FeedParser constructor. Most apps will only use one instance. * FeedParser constructor. Most apps will only use one instance.
* *
* @param {Object} options
* @api public * @api public
*/ */
function FeedParser (options) { function FeedParser (options) {
Expand Down Expand Up @@ -84,6 +85,7 @@ util.inherits(FeedParser, EventEmitter);
* Emits an 'error' event on each XML parser error * Emits an 'error' event on each XML parser error
* *
* @param {String} string of XML representing the feed * @param {String} string of XML representing the feed
* @param {Object} options
* @param {Function} callback * @param {Function} callback
* @api public * @api public
*/ */
Expand All @@ -109,6 +111,7 @@ FeedParser.prototype.parseString = function(string, options, callback) {
* See parseString for more info. * See parseString for more info.
* *
* @param {String} path to the feed file or a fully qualified uri or parsed url object from url.parse() * @param {String} path to the feed file or a fully qualified uri or parsed url object from url.parse()
* @param {Object} options
* @param {Function} callback * @param {Function} callback
* @api public * @api public
*/ */
Expand Down Expand Up @@ -142,6 +145,7 @@ FeedParser.prototype.parseFile = function(file, options, callback) {
* See parseString for more info. * See parseString for more info.
* *
* @param {String} fully qualified uri or a parsed url object from url.parse() * @param {String} fully qualified uri or a parsed url object from url.parse()
* @param {Object} options
* @param {Function} callback * @param {Function} callback
* @api public * @api public
*/ */
Expand Down Expand Up @@ -180,6 +184,7 @@ FeedParser.prototype.parseUrl = function(url, options, callback) {
* See parseString for more info. * See parseString for more info.
* *
* @param {Readable Stream} * @param {Readable Stream}
* @param {Object} options
* @param {Function} callback * @param {Function} callback
* @api public * @api public
*/ */
Expand Down

0 comments on commit b0561b5

Please sign in to comment.