Skip to content

Commit 02371f6

Browse files
author
Matt Wade
committed
Adds NPM badge
Other grammer fixes too
1 parent 364e291 commit 02371f6

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Diff Dev Prod
22

3+
[![npm version](https://badge.fury.io/js/%40designory%2Fdiff-dev-prod.svg)](https://badge.fury.io/js/%40designory%2Fdiff-dev-prod)
4+
35
Imagine the following scenario:
46

57
You are hired to build a simple static website, possibly using a
@@ -173,11 +175,11 @@ detailed below:
173175
"selector": "String",
174176
175177
// After the elements have been selected, they can be filtered by
176-
// its contents for a simple string match.
178+
// their contents for a simple string match.
177179
"contains": "String",
178180
179181
// After the elements have been selected, they can be filtered by
180-
// checking its contents for a regular expression match.
182+
// checking their contents for a regular expression match.
181183
// Note that this regular expression should **not** contain starting
182184
// and ending slashes, and all backslashes should be escaped.
183185
// @example `"containsRegex": "jQuery v\\d+"`

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,11 +527,11 @@ The shape of the clean JSON configuration is as follows:
527527
${chalk.magenta('"selector":')} ${chalk.yellow('"String"')},
528528
529529
${chalk.gray(`// After the elements have been selected, they can be filtered by`)}
530-
${chalk.gray(`// its contents for a simple string match.`)}
530+
${chalk.gray(`// their contents for a simple string match.`)}
531531
${chalk.magenta('"contains":')} ${chalk.yellow('"String"')},
532532
533533
${chalk.gray(`// After the elements have been selected, they can be filtered by`)}
534-
${chalk.gray(`// checking its contents for a regular expression match.`)}
534+
${chalk.gray(`// checking their contents for a regular expression match.`)}
535535
${chalk.gray(`// Note that this regular expression should **not** contain starting`)}
536536
${chalk.gray(`// and ending slashes, and all backslashes should be escaped.`)}
537537
${chalk.gray(`// @example \`"containsRegex": "jQuery v\\\\d+"\``)}

0 commit comments

Comments
 (0)