Skip to content

Commit

Permalink
fix(index): remove static method because not return class constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Oct 10, 2019
1 parent e012fd8 commit 7825559
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,6 @@ function PostHTML (plugins) {
Api.call(this)
}

/**
* @requires posthtml-parser
*
* @param {String} html - Input (HTML)
* @returns {Array} tree - PostHTMLTree (JSON)
*/
PostHTML.parser = parser
/**
* @requires posthtml-render
*
* @param {Array} tree - PostHTMLTree (JSON)
* @returns {String} html - HTML
*/
PostHTML.render = render

/**
* @this posthtml
* @param {Function} plugin - A PostHTML plugin
Expand Down

0 comments on commit 7825559

Please sign in to comment.