Skip to content

Commit 30d8888

Browse files
committed
Add Travis badge
1 parent 666de70 commit 30d8888

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![GitHub issues](https://img.shields.io/github/issues/scriptex/html5-form-validator.svg)](https://github.com/scriptex/html5-form-validator/issues)
55
[![GitHub last commit](https://img.shields.io/github/last-commit/scriptex/html5-form-validator.svg)](https://github.com/scriptex/html5-form-validator/commits/master)
66
[![Github file size](https://img.shields.io/github/size/scriptex/html5-form-validator/dist/index.min.js.svg)](https://github.com/scriptex/html5-form-validator)
7+
[![Build Status](https://travis-ci.org/scriptex/html5-form-validator.svg?branch=master)](https://travis-ci.org/scriptex/html5-form-validator)
78
[![npm](https://img.shields.io/npm/dt/html5-form-validator.svg)](https://www.npmjs.com/package/html5-form-validator)
89
[![npm](https://img.shields.io/npm/v/html5-form-validator.svg)](https://www.npmjs.com/package/html5-form-validator)
910
[![license](https://img.shields.io/github/license/scriptex/html5-form-validator.svg)](https://github.com/scriptex/html5-form-validator)
@@ -52,12 +53,12 @@ or supply your own
5253
const form = document.querySelector('#form');
5354

5455
new html5formValidation(form, {
55-
errorElement: 'form__error',
56-
invalidClass: 'is--invalid',
57-
submitHandler(instance) {
58-
console.log(instance)
59-
},
60-
validateOnInput: false
56+
errorElement: 'form__error',
57+
invalidClass: 'is--invalid',
58+
submitHandler(instance) {
59+
console.log(instance);
60+
},
61+
validateOnInput: false
6162
});
6263
```
6364

0 commit comments

Comments
 (0)