@@ -6,7 +6,7 @@ var utils = require('./utils'),
66 _ = require ( 'lodash' ) ;
77
88/**
9- * Converts HTML document to AST Tree
9+ * Converts the HTML document to the AST Tree
1010 * @param {String } HTMLDoc
1111 * @param {Object } options
1212 * @returns {AST }
@@ -26,7 +26,7 @@ function htmlToAST(HTMLDoc, options) {
2626}
2727
2828/**
29- * Recursively sorts the arttibutes value of the AST leafs
29+ * Recursively sorts arttibutes' values of the AST leafs
3030 * @param {AST } tree
3131 * @param {Object } options
3232 * @returns {AST }
@@ -89,7 +89,7 @@ var Diff = diff.Diff;
8989HtmlDiff . prototype = Diff . prototype ;
9090
9191/**
92- * Tokenizes a given string
92+ * Tokenizes the given string
9393 * @param {String } value
9494 * @returns {Array }
9595 */
@@ -139,7 +139,7 @@ var HtmlDiffer = function(options) {
139139 */
140140HtmlDiffer . prototype . diffHtml = function ( html1 , html2 , options ) {
141141 if ( options ) {
142- console . warn ( 'WARNING! The third param of " diffHtml" method is deprecated!' ) ;
142+ console . warn ( 'WARNING! The third param of \' diffHtml\' method is deprecated!' ) ;
143143 }
144144
145145 options = _ . defaults ( this . options , options ) ;
@@ -158,7 +158,7 @@ HtmlDiffer.prototype.diffHtml = function(html1, html2, options) {
158158 */
159159HtmlDiffer . prototype . isEqual = function ( html1 , html2 , options ) {
160160 if ( options ) {
161- console . warn ( 'WARNING! The third param of " isEqual" method is deprecated!' ) ;
161+ console . warn ( 'WARNING! The third param of \' isEqual\' method is deprecated!' ) ;
162162 }
163163
164164 options = _ . defaults ( this . options , options ) ;
0 commit comments