Skip to content

Commit

Permalink
#1043, #1068: Fix autoFocus test suite issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nghuuphuoc committed Nov 5, 2014
1 parent 5f39066 commit da7b34e
Show file tree
Hide file tree
Showing 131 changed files with 308 additions and 252 deletions.
6 changes: 5 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Contributors

Contributions are welcome!

Please notice that your code may be used as part of a commercial product if the pull request is merged.

I would like to give big thanks to the following contributors:

* [@abuzer](https://github.com/abuzer)
Expand Down Expand Up @@ -107,4 +111,4 @@ I would like to give big thanks to the following contributors:
* [@vaz](https://github.com/vaz)
* [@yakidahan](https://github.com/yakidahan)
* [@zmira](https://github.com/zmira)
* ... might be you! Let's [fork](https://github.com/nghuuphuoc/bootstrapvalidator/fork) and pull a request!
* ... might be you! Let's [fork](https://github.com/nghuuphuoc/bootstrapvalidator/fork) and make a pull request.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ module.exports = function(grunt) {
' * @version v<%= pkg.version %>, built on <%= grunt.template.today("yyyy-mm-dd h:MM:ss TT") %>',
' * @author <%= pkg.author.url %>',
' * @copyright (c) 2013 - <%= grunt.template.today("yyyy") %> Nguyen Huu Phuoc',
' * @license MIT',
' * @license Commercial: <%= pkg.homepage %>/license/',
' * Non-commercial: http://creativecommons.org/licenses/by-nc-nd/3.0/',
' */\n'
].join('\n'),

Expand Down
58 changes: 58 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
BootstrapValidator Licenses
---

BootstrapValidator is free to use in non-commercial projects under the terms of the Creative
Commons BY-NC-ND 3.0 (http://creativecommons.org/licenses/by-nc-nd/3.0/) license.
If you use BootstrapValidator in commercial projects and products, you must purchase a commercial license.

For more information about the license, see http://bootstrapvalidator.com/license/

## BootstrapValidator commercial license agreement

This Commercial License Agreement is a binding legal agreement between you and Nguyen Huu Phuoc.
By installing, copying, or using BootstrapValidator (the Software), you agree to be bound
by these terms of this Agreement.

### Grant of license

Subject to the payment of the fee required and the conditions herein, you are hereby granted
a non-exclusive, non-transferable right to use BootstrapValidator (the Software) to design
and develop commercial applications (Applications).

### Developer grant

The BootstrapValidator Commercial Developer License grants one license for you as one designated
user (Developer) to use the Software for developing Applications. A Developer is an individual
who implements the Software into Applications, most often writing the necessary code to do so.
You must purchase another separate license to the Software for each and any additional Developer,
or purchase a BootstrapValidator Commercial Organization License to cover your entire organization.

### Organization grant

The BootstrapValidator Commercial Organization License grants one license for your Organization
as one designated, collective user (Organization) to use the Software for developing Applications.
There is no limit or restriction of the number of Developers within your Organization who
may develop Applications using the Software.

### Usage

You are granted the right to use and to modify the source code of the Software for use in
Applications. There is no limit or restriction of the number of Applications which use the
Software. You own any original work authored by you. Nguyen Huu Phuoc continues to retain
all copyright and other intellectual property rights in the Software. You are not permitted
to move, remove, edit, or obscure any copyright, trademark, attribution, warning or disclaimer
notices in the Software.

You may use the Software only to create Applications that are significantly different than
and do not compete with the Software. You are granted the license to distribute the Software
as part of your Applications on a royalty-free basis. Users of your Applications are permitted
to use the Software or your modifications of the Software as part of your Applications.
Users do not need to purchase their own commercial license for the Software, so long as they
are not acting as Developers, developing their own commercial Applications with the Software.

### Warranties and remedies

The Software is provided "as is", without warranty of any kind, express or implied, including
but not limited to the warranties of merchantability, fitness for a particular purpose and
non-infringement. Nguyen Huu Phuoc's entire liability and your exclusive remedy under this
agreement shall be return of the price paid for the Software.
71 changes: 28 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
# BootstrapValidator - [v0.5.2](http://bootstrapvalidator.com/getting-started/#download)
# BootstrapValidator - [v0.5.3](http://bootstrapvalidator.com/download/)

[http://bootstrapvalidator.com](http://bootstrapvalidator.com) - The best jQuery plugin to validate form fields, designed to use with [Bootstrap 3](http://getbootstrap.com).
[http://bootstrapvalidator.com](http://bootstrapvalidator.com) - The best [jQuery](http://jquery.com/) plugin to validate form fields, designed to use with [Bootstrap 3](http://getbootstrap.com).

It's developed from scratch by [@nghuuphuoc](http://twitter.com/nghuuphuoc).

__Required__: [jQuery](http://jquery.com/) and [Bootstrap 3](http://getbootstrap.com/)
__Required__: [jQuery 1.9.1+](http://jquery.com/) and [Bootstrap 3+](http://getbootstrap.com/)

![Screenshot](screenshots/demo.gif)

## [Help the project](https://pledgie.com/campaigns/24885)

I've been spending a lot of time to work on this plugin. If it is useful to you, please consider to help the project by making a small donation:

<a href="https://pledgie.com/campaigns/24885"><img alt="Click here to lend your support to: BootstrapValidator and make a donation at pledgie.com!" src="https://pledgie.com/campaigns/24885.png?skin_name=chrome" border="0" /></a>

Also, you can make me feel happy by [tweeting](https://twitter.com/intent/tweet?hashtags=javascript,jquery,twbootstrap&original_referer=http://github.com/nghuuphuoc/bootstrapvalidator&text=BootstrapValidator%20is%20the%20best%20jQuery%20plugin%20to%20validate%20form%20fields&url=http://bootstrapvalidator.com) about it and [staring](https://github.com/nghuuphuoc/bootstrapvalidator/stargazers) the project on Github.

## Live demo

http://bootstrapvalidator.com/examples/
Expand All @@ -24,28 +16,37 @@ There are also many examples located in the [demo](demo) directory.

You also can run the ```demo``` locally by:

* Clone the repo: ```git clone https://github.com/nghuuphuoc/bootstrapvalidator.git```
* Go to the cloned directory and run the command: ```python -m SimpleHTTPServer 8000```
* Access the demo at ```http://localhost:8000/demo/the_demo_file_here.html```
* Clone the repo:

## Features
```
git clone https://github.com/nghuuphuoc/bootstrapvalidator.git
```

See [official website](http://bootstrapvalidator.com) for the full list of features
* Go to the cloned directory and run the command:

## Support
```
python -m SimpleHTTPServer 8000
```

[Submit an issue](https://github.com/nghuuphuoc/bootstrapvalidator/issues) or ask for [commercial support](mailto: [email protected]?subject=Commercial support for BootstrapValidator)
* Access the demo at

```
http://localhost:8000/demo/the_demo_file_here.html
```

## Features

See [official website](http://bootstrapvalidator.com) for the full list of features

## Download

* Latest version: [v0.5.2](http://bootstrapvalidator.com/getting-started/), released on 2014-09-25
* Latest version: [v0.5.3](http://bootstrapvalidator.com/download/), released on 2014-11-05
* For older versions, look at the [Releases](https://github.com/nghuuphuoc/bootstrapvalidator/releases) page
* Release History: Look at the [Change Log](CHANGELOG.md)

## Documentation

* [Official website](http://bootstrapvalidator.com)
* [Official website source](https://github.com/nghuuphuoc/bootstrapvalidator/tree/docs)

## Author

Expand All @@ -54,27 +55,11 @@ The __BootstrapValidator__ plugin is written by Nguyen Huu Phuoc, aka @nghuuphuo
* [http://twitter.com/nghuuphuoc](http://twitter.com/nghuuphuoc)
* [http://github.com/nghuuphuoc](http://github.com/nghuuphuoc)

Big thanks to the [contributors](CONTRIBUTORS.md).
## License

```
The MIT License (MIT)
Copyright (c) 2013 - 2014 Nguyen Huu Phuoc
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```
BootstrapValidator is free to use in non-commercial projects and applications under the terms of the [Creative Commons BY-NC-ND 3.0](http://creativecommons.org/licenses/by-nc-nd/3.0/) license.

BootstrapValidator may be used in commercial projects and applications with the one-time purchase of a commercial license.
If you are paid to do your job, and part of your job is implementing BootstrapValidator, a commercial license is required.

For more information about the license, see http://bootstrapvalidator.com/license/
12 changes: 8 additions & 4 deletions bootstrapValidator.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrapValidator",
"version": "0.5.3-dev",
"version": "0.5.3",
"title": "BootstrapValidator",
"author": {
"name": "Nguyen Huu Phuoc",
Expand All @@ -9,12 +9,16 @@
},
"licenses": [
{
"type": "MIT",
"url": "http://opensource.org/licenses/mit-license.html"
"type": "Commercial",
"url": "http://bootstrapvalidator.com/license/"
},
{
"type": "Non-commercial",
"url": "http://creativecommons.org/licenses/by-nc-nd/3.0/"
}
],
"dependencies": {
"jquery": ">= 1.9.0",
"jquery": ">= 1.9.1",
"bootstrap": ">= 3.0.0"
},
"description": "The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3",
Expand Down
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bootstrapvalidator",
"description": "The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3",
"version": "0.5.3-dev",
"version": "0.5.3",
"ignore": [
"demo",
"screenshots",
Expand All @@ -16,7 +16,7 @@
"dist/css/bootstrapValidator.css",
"dist/js/bootstrapValidator.js"
],
"license": "MIT",
"license": "Commercial and non-commercial",
"keywords": ["jQuery", "plugin", "validate", "validator", "form", "Bootstrap"],
"authors": [
{ "name": "Nguyen Huu Phuoc", "email": "[email protected]"," homepage": "https://twitter.com/nghuuphuoc" }
Expand All @@ -27,7 +27,7 @@
"url": "https://github.com/nghuuphuoc/bootstrapvalidator.git"
},
"dependencies": {
"jquery": ">= 1.9.0",
"jquery": ">= 1.9.1",
"bootstrap": ">= 3.0.0"
}
}
5 changes: 3 additions & 2 deletions dist/css/bootstrapValidator.min.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
* BootstrapValidator (http://bootstrapvalidator.com)
* The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
*
* @version v0.5.3-dev, built on 2014-11-05 11:08:39 AM
* @version v0.5.3, built on 2014-11-05 6:25:15 PM
* @author https://twitter.com/nghuuphuoc
* @copyright (c) 2013 - 2014 Nguyen Huu Phuoc
* @license MIT
* @license Commercial: http://bootstrapvalidator.com/license/
* Non-commercial: http://creativecommons.org/licenses/by-nc-nd/3.0/
*/

.bv-form .help-block{margin-bottom:0}.bv-form .tooltip-inner{text-align:left}.nav-tabs li.bv-tab-success>a{color:#3c763d}.nav-tabs li.bv-tab-error>a{color:#a94442}.bv-form .bv-icon-no-label{top:0}.bv-form .bv-icon-input-group{top:0;z-index:100}
Loading

0 comments on commit da7b34e

Please sign in to comment.