Skip to content

Commit 68f9358

Browse files
committed
HTML-code -> HTML
1 parent be1c7db commit 68f9358

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# html-differ [![Build Status](https://travis-ci.org/bem/html-differ.svg)](https://travis-ci.org/bem/html-differ) [![Coverage Status](https://img.shields.io/coveralls/bem/html-differ.svg)](https://coveralls.io/r/bem/html-differ?branch=master) [![Dependency Status](https://david-dm.org/bem/html-differ.svg)](https://david-dm.org/bem/html-differ) [![devDependency Status](https://david-dm.org/bem/html-differ/dev-status.svg)](https://david-dm.org/bem/html-differ#info=devDependencies)
22

3-
Сompares two HTML codes.
3+
Сompares two HTML.
44

55
## The comparison algorithm
66

7-
**html-differ** compares HTML codes using the following criteria:
7+
**html-differ** compares HTML using the following criteria:
88

99
* `<!DOCTYPE>` declarations are case-insensitive, so the following two code samples will be considered to be equivalent:
1010

@@ -54,7 +54,7 @@ For example, the following two code samples will be considered to be equivalent:
5454
```
5555

5656
**CAUTION!**<br>
57-
**html-differ** does not check the validity of HTML codes, but compares them using the above shown criteria and specified options (see the list of possible options in the [API](https://github.com/bem/html-differ#api)).
57+
**html-differ** does not check the validity of HTML, but compares them using the above shown criteria and specified options (see the list of possible options in the [API](https://github.com/bem/html-differ#api)).
5858

5959
## Install
6060

@@ -240,7 +240,7 @@ The options wiil be predefined:
240240
**htmlDiffer.diffHtml**<br>
241241
**@param** *{String}* - the 1-st HTML code<br>
242242
**@param** *{String}* - the 2-nd HTML code<br>
243-
**@returns** *{Array of objects}* - [array with diffs](https://github.com/kpdecker/jsdiff#change-objects) between HTML codes
243+
**@returns** *{Array of objects}* - [array with diffs](https://github.com/kpdecker/jsdiff#change-objects) between HTML
244244

245245
**htmlDiffer.isEqual**<br>
246246
**@param** *{String}* - the 1-st HTML code<br>
@@ -260,15 +260,15 @@ var logger = require('html-differ/lib/logger');
260260
**@param** *{Array of objects}* - the result of the work of the method **htmlDiffer.diffHtml**<br>
261261
**@param** *{Object}* - options:<br>
262262

263-
* **charsAroundDiff: Number** - the number of characters around the diff result between two HTML codes (default: `40`).
263+
* **charsAroundDiff: Number** - the number of characters around the diff result between two HTML (default: `40`).
264264

265265
**@returns** *{String}*
266266

267267
**logger.logDiffText**<br>
268268
**@param** *{Array of objects}* - the result of the work of the method **htmlDiffer.diffHtml**<br>
269269
**@param** *{Object}* - options:<br>
270270

271-
* **charsAroundDiff: Number** - the number of characters around the diff result between two HTML codes (default: `40`).
271+
* **charsAroundDiff: Number** - the number of characters around the diff result between two HTML (default: `40`).
272272

273273
**@returns** - pretty logging of diffs:
274274

@@ -307,7 +307,7 @@ logger.logDiffText(diff, { charsAroundDiff: 40 });
307307

308308
```bash
309309
$ html-differ --help
310-
Compares two HTML codes
310+
Compares two HTML
311311

312312
Usage:
313313
html-differ [OPTIONS] [ARGS]

lib/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var path = require('path'),
88
module.exports = require('coa').Cmd()
99
.name(process.argv[1])
1010
.helpful()
11-
.title('Compares two HTML codes')
11+
.title('Compares two HTML')
1212
.opt()
1313
.name('version')
1414
.title('Shows the version number')

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "html-differ",
33
"version": "1.0.0",
4-
"description": "Compares two HTML codes",
4+
"description": "Compares two HTML",
55
"keywords": [
66
"html-differ",
77
"html",

0 commit comments

Comments
 (0)