Skip to content

Commit

Permalink
Doc: update documentation, replace CDN urls
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Apr 26, 2020
1 parent 49eceba commit 9dc594c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Live Form Validation

:no_entry: Nice client-side live form validation for Nette Forms 2.4.
:no_entry: Nice client-side live form validation for Nette Forms 3.0.

-----

Expand All @@ -13,6 +13,13 @@

[![Join the chat](https://img.shields.io/gitter/room/contributte/contributte.svg?style=flat-square)](http://bit.ly/ctteg)

## Versions

| State | Version | Branch |
|-------------|---------------|----------|
| development | `dev-master` | `master` |
| stable | `^1.9.0` | `master` |

## Install

### NPM
Expand All @@ -27,17 +34,15 @@ All you need is to link `live-form-validation.js` file from to your HTML documen

The script already contains the `netteForms.js` file, so don't use it again and remove it from your HTML document.

### Rawgit
### CDN

- Dev: `https://rawgit.com/contributte/live-form-validation/master/live-form-validation.js`
- Stable: `https://cdn.rawgit.com/contributte/live-form-validation/v1.8.1/live-form-validation.js`
- Dev: `https://cdn.jsdelivr.net/gh/contributte/live-form-validation@master/live-form-validation.js`
- Stable: `https://cdn.jsdelivr.net/gh/contributte/live-form-validation@v1.9.0/live-form-validation.js`

## Versions
**Nette**

| State | Version | Branch |
|-------------|-----------|----------|
| development | `^1.9.0` | `master` |
| stable | `^1.8.1` | `master` |
- Nette 3.0: `https://cdn.jsdelivr.net/gh/contributte/live-form-validation@master/live-form-validation.js`
- Nette 2.4: `https://cdn.jsdelivr.net/gh/contributte/[email protected]/live-form-validation.js`

## Usage

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "live-form-validation",
"version": "1.9.0",
"description": "Nice client-side live form validation for Nette Forms 2.4. Script by default works nicely with Twitter Bootstrap 3.",
"description": "Nice client-side live form validation for Nette Forms 3.0. Script by default works nicely with Twitter Bootstrap 4.",
"main": "live-form-validation.js",
"repository": {
"type": "git",
Expand Down

0 comments on commit 9dc594c

Please sign in to comment.