Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
David Tang committed Aug 25, 2017
1 parent 8303f00 commit 3bc5f46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ npm install validatorjs
### Browser

```html
<script src="validator.min.js"></script>
<script src="validator.js"></script>
```

### Node.js / Browserify
Expand Down Expand Up @@ -178,7 +178,7 @@ The field under validation must be after the given date.

#### after_or_equal:date

The field unter validation must be after or equal to the given field
The field unter validation must be after or equal to the given field

#### alpha

Expand Down Expand Up @@ -516,7 +516,7 @@ Note: by default all _[] characters will be replaced with spaces.
Error messages are in English by default. To include another language in the browser, reference the language file in a script tag and call `Validator.useLang('lang_code')`.

```html
<script src="dist/validator.min.js"></script>
<script src="dist/validator.js"></script>
<script src="dist/lang/ru.js"></script>
<script>
Validator.useLang('es');
Expand Down

0 comments on commit 3bc5f46

Please sign in to comment.