You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-10Lines changed: 2 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,6 @@ var html1 = fs.readFileSync('1.html', 'utf-8'),
84
84
var options = {
85
85
ignoreHtmlAttrs: [],
86
86
compareHtmlAttrsAsJSON: [],
87
-
verbose:true,
88
87
ignoreWhitespace:true,
89
88
bem:false
90
89
}
@@ -106,9 +105,7 @@ where ```options``` is the ```Object```:
106
105
107
106
*```compareHtmlAttrsAsJSON: [ Array ]``` - sets what respective attributes' content will be compared as ```JSONs```, not as ```Strings```
108
107
109
-
*```verbose: Boolean``` - see [here](https://github.com/tautologistics/node-htmlparser#option-verbose)
110
-
111
-
*```ignoreWhitespace: Boolean``` - see [here](https://github.com/tautologistics/node-htmlparser#option-ignorewhitespace)
108
+
*```ignoreWhitespace: Boolean``` - if is set ```true```, ```html-differ``` will consider all groups of ```spaces```, ```new lines```, ```tabs``` as one ```space```
112
109
113
110
*```bem: Boolean``` - predefined options for BEM
114
111
@@ -119,10 +116,6 @@ Options for BEM are predefined:
0 commit comments