ソースを参照

#1043, #1068: Fix autoFocus test suite issue

phuoc 11 年 前
コミット
da7b34e881
100 ファイル変更263 行追加207 行削除
  1. 5 1
      CONTRIBUTORS.md
  2. 2 1
      Gruntfile.js
  3. 58 0
      LICENSE.txt
  4. 28 43
      README.md
  5. 8 4
      bootstrapValidator.jquery.json
  6. 3 3
      bower.json
  7. 3 2
      dist/css/bootstrapValidator.min.css
  8. 55 54
      dist/js/bootstrapValidator.js
  9. 7 6
      dist/js/bootstrapValidator.min.js
  10. 1 1
      dist/js/language/ar_MA.js
  11. 1 1
      dist/js/language/be_FR.js
  12. 1 1
      dist/js/language/be_NL.js
  13. 1 1
      dist/js/language/bg_BG.js
  14. 1 1
      dist/js/language/cs_CZ.js
  15. 1 1
      dist/js/language/da_DK.js
  16. 1 1
      dist/js/language/de_DE.js
  17. 1 1
      dist/js/language/en_US.js
  18. 1 1
      dist/js/language/es_CL.js
  19. 1 1
      dist/js/language/es_ES.js
  20. 1 1
      dist/js/language/fa_IR.js
  21. 1 1
      dist/js/language/fr_FR.js
  22. 1 1
      dist/js/language/gr_EL.js
  23. 1 1
      dist/js/language/he_IL.js
  24. 1 1
      dist/js/language/hu_HU.js
  25. 1 1
      dist/js/language/id_ID.js
  26. 1 1
      dist/js/language/it_IT.js
  27. 1 1
      dist/js/language/ja_JP.js
  28. 1 1
      dist/js/language/nl_NL.js
  29. 1 1
      dist/js/language/no_NO.js
  30. 1 1
      dist/js/language/pl_PL.js
  31. 1 1
      dist/js/language/pt_BR.js
  32. 1 1
      dist/js/language/pt_PT.js
  33. 1 1
      dist/js/language/ro_RO.js
  34. 1 1
      dist/js/language/ru_RU.js
  35. 1 1
      dist/js/language/sq_AL.js
  36. 1 1
      dist/js/language/sr_RS.js
  37. 1 1
      dist/js/language/sv_SE.js
  38. 1 1
      dist/js/language/th_TH.js
  39. 1 1
      dist/js/language/tr_TR.js
  40. 1 1
      dist/js/language/ua_UA.js
  41. 1 1
      dist/js/language/vi_VN.js
  42. 1 1
      dist/js/language/zh_CN.js
  43. 1 1
      dist/js/language/zh_TW.js
  44. 2 2
      package.json
  45. 4 3
      src/js/bootstrapValidator.js
  46. 1 1
      src/js/language/ar_MA.js
  47. 1 1
      src/js/language/be_FR.js
  48. 1 1
      src/js/language/be_NL.js
  49. 1 1
      src/js/language/bg_BG.js
  50. 1 1
      src/js/language/cs_CZ.js
  51. 1 1
      src/js/language/da_DK.js
  52. 1 1
      src/js/language/de_DE.js
  53. 1 1
      src/js/language/en_US.js
  54. 1 1
      src/js/language/es_CL.js
  55. 1 1
      src/js/language/es_ES.js
  56. 1 1
      src/js/language/fa_IR.js
  57. 1 1
      src/js/language/fr_FR.js
  58. 1 1
      src/js/language/gr_EL.js
  59. 1 1
      src/js/language/he_IL.js
  60. 1 1
      src/js/language/hu_HU.js
  61. 1 1
      src/js/language/id_ID.js
  62. 1 1
      src/js/language/it_IT.js
  63. 1 1
      src/js/language/ja_JP.js
  64. 1 1
      src/js/language/nl_NL.js
  65. 1 1
      src/js/language/no_NO.js
  66. 1 1
      src/js/language/pl_PL.js
  67. 1 1
      src/js/language/pt_BR.js
  68. 1 1
      src/js/language/pt_PT.js
  69. 1 1
      src/js/language/ro_RO.js
  70. 1 1
      src/js/language/ru_RU.js
  71. 1 1
      src/js/language/sq_AL.js
  72. 1 1
      src/js/language/sr_RS.js
  73. 1 1
      src/js/language/sv_SE.js
  74. 1 1
      src/js/language/th_TH.js
  75. 1 1
      src/js/language/tr_TR.js
  76. 1 1
      src/js/language/ua_UA.js
  77. 1 1
      src/js/language/vi_VN.js
  78. 1 1
      src/js/language/zh_CN.js
  79. 1 1
      src/js/language/zh_TW.js
  80. 1 1
      src/js/validator/base64.js
  81. 1 1
      src/js/validator/between.js
  82. 1 1
      src/js/validator/blank.js
  83. 1 1
      src/js/validator/callback.js
  84. 1 1
      src/js/validator/choice.js
  85. 1 1
      src/js/validator/color.js
  86. 1 1
      src/js/validator/creditCard.js
  87. 1 1
      src/js/validator/cusip.js
  88. 1 1
      src/js/validator/cvv.js
  89. 1 1
      src/js/validator/date.js
  90. 1 1
      src/js/validator/different.js
  91. 1 1
      src/js/validator/digits.js
  92. 1 1
      src/js/validator/ean.js
  93. 1 1
      src/js/validator/emailAddress.js
  94. 1 1
      src/js/validator/file.js
  95. 1 1
      src/js/validator/greaterThan.js
  96. 1 1
      src/js/validator/grid.js
  97. 1 1
      src/js/validator/hex.js
  98. 1 1
      src/js/validator/hexColor.js
  99. 1 1
      src/js/validator/iban.js
  100. 0 0
      src/js/validator/id.js

+ 5 - 1
CONTRIBUTORS.md

@@ -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)
@@ -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.

+ 2 - 1
Gruntfile.js

@@ -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'),
 

+ 58 - 0
LICENSE.txt

@@ -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. 

+ 28 - 43
README.md

@@ -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/
@@ -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: phuoc@huuphuoc.me?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
 
@@ -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/

+ 8 - 4
bootstrapValidator.jquery.json

@@ -1,6 +1,6 @@
 {
     "name": "bootstrapValidator",
-    "version": "0.5.3-dev",
+    "version": "0.5.3",
     "title": "BootstrapValidator",
     "author": {
         "name": "Nguyen Huu Phuoc",
@@ -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",

+ 3 - 3
bower.json

@@ -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",
@@ -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": "phuoc@huuphuoc.me"," homepage": "https://twitter.com/nghuuphuoc" }
@@ -27,7 +27,7 @@
         "url": "https://github.com/nghuuphuoc/bootstrapvalidator.git"
     },
     "dependencies": {
-        "jquery": ">= 1.9.0",
+        "jquery": ">= 1.9.1",
         "bootstrap": ">= 3.0.0"
     }
 }

+ 3 - 2
dist/css/bootstrapValidator.min.css

@@ -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}

+ 55 - 54
dist/js/bootstrapValidator.js

@@ -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/
  */
 if (typeof jQuery === 'undefined') {
     throw new Error('BootstrapValidator requires jQuery');
@@ -16,7 +17,7 @@ if (typeof jQuery === 'undefined') {
     if ((+version[0] < 2 && +version[1] < 9) || (+version[0] === 1 && +version[1] === 9 && +version[2] < 1)) {
         throw new Error('BootstrapValidator requires jQuery version 1.9.1 or higher');
     }
-}(window.jQuery));
+}(jQuery));
 
 (function($) {
     var BootstrapValidator = function(form, options) {
@@ -1999,7 +2000,7 @@ if (typeof jQuery === 'undefined') {
             return (check === 1);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.base64 = $.extend($.fn.bootstrapValidator.i18n.base64 || {}, {
         'default': 'Please enter a valid base 64 encoded'
@@ -2024,7 +2025,7 @@ if (typeof jQuery === 'undefined') {
             return /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/.test(value);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.between = $.extend($.fn.bootstrapValidator.i18n.between || {}, {
         'default': 'Please enter a value between %s and %s',
@@ -2101,7 +2102,7 @@ if (typeof jQuery === 'undefined') {
             return (value + '').replace(',', '.');
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.validators.blank = {
         /**
@@ -2130,7 +2131,7 @@ if (typeof jQuery === 'undefined') {
             return true;
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.callback = $.extend($.fn.bootstrapValidator.i18n.callback || {}, {
         'default': 'Please enter a valid value'
@@ -2171,7 +2172,7 @@ if (typeof jQuery === 'undefined') {
             return dfd;
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.choice = $.extend($.fn.bootstrapValidator.i18n.choice || {}, {
         'default': 'Please enter a valid value',
@@ -2239,7 +2240,7 @@ if (typeof jQuery === 'undefined') {
             return { valid: isValid, message: message };
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.color = $.extend($.fn.bootstrapValidator.i18n.color || {}, {
         'default': 'Please enter a valid color'
@@ -2368,7 +2369,7 @@ if (typeof jQuery === 'undefined') {
             return regexInteger.test(value) || regexPercent.test(value);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.creditCard = $.extend($.fn.bootstrapValidator.i18n.creditCard || {}, {
         'default': 'Please enter a valid credit card number'
@@ -2471,7 +2472,7 @@ if (typeof jQuery === 'undefined') {
             return false;
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.cusip = $.extend($.fn.bootstrapValidator.i18n.cusip || {}, {
         'default': 'Please enter a valid CUSIP number'
@@ -2526,7 +2527,7 @@ if (typeof jQuery === 'undefined') {
             return sum === converted[length - 1];
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.cvv = $.extend($.fn.bootstrapValidator.i18n.cvv || {}, {
         'default': 'Please enter a valid CVV number'
@@ -2642,7 +2643,7 @@ if (typeof jQuery === 'undefined') {
                         : (('AMERICAN_EXPRESS' === creditCardType) ? (value.length === 4) : (value.length === 3));
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.date = $.extend($.fn.bootstrapValidator.i18n.date || {}, {
         'default': 'Please enter a valid date',
@@ -2894,7 +2895,7 @@ if (typeof jQuery === 'undefined') {
             return new Date(year, month, day, hours, minutes, seconds);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.different = $.extend($.fn.bootstrapValidator.i18n.different || {}, {
         'default': 'Please enter a different value'
@@ -2942,7 +2943,7 @@ if (typeof jQuery === 'undefined') {
             return isValid;
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.digits = $.extend($.fn.bootstrapValidator.i18n.digits || {}, {
         'default': 'Please enter only digits'
@@ -2966,7 +2967,7 @@ if (typeof jQuery === 'undefined') {
             return /^\d+$/.test(value);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.ean = $.extend($.fn.bootstrapValidator.i18n.ean || {}, {
         'default': 'Please enter a valid EAN number'
@@ -3006,7 +3007,7 @@ if (typeof jQuery === 'undefined') {
             return (sum + '' === value.charAt(length - 1));
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.emailAddress = $.extend($.fn.bootstrapValidator.i18n.emailAddress || {}, {
         'default': 'Please enter a valid email address'
@@ -3093,7 +3094,7 @@ if (typeof jQuery === 'undefined') {
             return emailAddressArray;
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.file = $.extend($.fn.bootstrapValidator.i18n.file || {}, {
         'default': 'Please choose a valid file'
@@ -3181,7 +3182,7 @@ if (typeof jQuery === 'undefined') {
             return true;
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.greaterThan = $.extend($.fn.bootstrapValidator.i18n.greaterThan || {}, {
         'default': 'Please enter a value greater than or equal to %s',
@@ -3253,7 +3254,7 @@ if (typeof jQuery === 'undefined') {
             return (value + '').replace(',', '.');
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.grid = $.extend($.fn.bootstrapValidator.i18n.grid || {}, {
         'default': 'Please enter a valid GRId number'
@@ -3290,7 +3291,7 @@ if (typeof jQuery === 'undefined') {
             return $.fn.bootstrapValidator.helpers.mod37And36(value);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.hex = $.extend($.fn.bootstrapValidator.i18n.hex || {}, {
         'default': 'Please enter a valid hexadecimal number'
@@ -3315,7 +3316,7 @@ if (typeof jQuery === 'undefined') {
             return /^[0-9a-fA-F]+$/.test(value);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.hexColor = $.extend($.fn.bootstrapValidator.i18n.hexColor || {}, {
         'default': 'Please enter a valid hex color'
@@ -3348,7 +3349,7 @@ if (typeof jQuery === 'undefined') {
                         : /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(value);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.iban = $.extend($.fn.bootstrapValidator.i18n.iban || {}, {
         'default': 'Please enter a valid IBAN number',
@@ -3594,7 +3595,7 @@ if (typeof jQuery === 'undefined') {
             };
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.id = $.extend($.fn.bootstrapValidator.i18n.id || {}, {
         'default': 'Please enter a valid identification number',
@@ -4970,7 +4971,7 @@ if (typeof jQuery === 'undefined') {
             return $.fn.bootstrapValidator.helpers.luhn(value);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.identical = $.extend($.fn.bootstrapValidator.i18n.identical || {}, {
         'default': 'Please enter the same value'
@@ -5010,7 +5011,7 @@ if (typeof jQuery === 'undefined') {
             }
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.imei = $.extend($.fn.bootstrapValidator.i18n.imei || {}, {
         'default': 'Please enter a valid IMEI number'
@@ -5054,7 +5055,7 @@ if (typeof jQuery === 'undefined') {
             }
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.imo = $.extend($.fn.bootstrapValidator.i18n.imo || {}, {
         'default': 'Please enter a valid IMO number'
@@ -5099,7 +5100,7 @@ if (typeof jQuery === 'undefined') {
             return sum % 10 === parseInt(digits.charAt(6), 10);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.integer = $.extend($.fn.bootstrapValidator.i18n.integer || {}, {
         'default': 'Please enter a valid number'
@@ -5131,7 +5132,7 @@ if (typeof jQuery === 'undefined') {
             return /^(?:-?(?:0|[1-9][0-9]*))$/.test(value);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.ip = $.extend($.fn.bootstrapValidator.i18n.ip || {}, {
         'default': 'Please enter a valid IP address',
@@ -5194,7 +5195,7 @@ if (typeof jQuery === 'undefined') {
             };
         }
     };
-}(window.jQuery));;(function($) {
+}(jQuery));;(function($) {
     $.fn.bootstrapValidator.i18n.isbn = $.extend($.fn.bootstrapValidator.i18n.isbn || {}, {
         'default': 'Please enter a valid ISBN number'
     });
@@ -5279,7 +5280,7 @@ if (typeof jQuery === 'undefined') {
             }
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.isin = $.extend($.fn.bootstrapValidator.i18n.isin || {}, {
         'default': 'Please enter a valid ISIN number'
@@ -5338,7 +5339,7 @@ if (typeof jQuery === 'undefined') {
             return sum + '' === value.charAt(length - 1);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.ismn = $.extend($.fn.bootstrapValidator.i18n.ismn || {}, {
         'default': 'Please enter a valid ISMN number'
@@ -5397,7 +5398,7 @@ if (typeof jQuery === 'undefined') {
             return (sum + '' === value.charAt(length - 1));
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.issn = $.extend($.fn.bootstrapValidator.i18n.issn || {}, {
         'default': 'Please enter a valid ISSN number'
@@ -5443,7 +5444,7 @@ if (typeof jQuery === 'undefined') {
             return (sum % 11 === 0);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.lessThan = $.extend($.fn.bootstrapValidator.i18n.lessThan || {}, {
         'default': 'Please enter a value less than or equal to %s',
@@ -5515,7 +5516,7 @@ if (typeof jQuery === 'undefined') {
             return (value + '').replace(',', '.');
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.mac = $.extend($.fn.bootstrapValidator.i18n.mac || {}, {
         'default': 'Please enter a valid MAC address'
@@ -5540,7 +5541,7 @@ if (typeof jQuery === 'undefined') {
             return /^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$/.test(value);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.meid = $.extend($.fn.bootstrapValidator.i18n.meid || {}, {
         'default': 'Please enter a valid MEID number'
@@ -5623,7 +5624,7 @@ if (typeof jQuery === 'undefined') {
             }
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.notEmpty = $.extend($.fn.bootstrapValidator.i18n.notEmpty || {}, {
         'default': 'Please enter a value'
@@ -5659,7 +5660,7 @@ if (typeof jQuery === 'undefined') {
             return $.trim($field.val()) !== '';
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.numeric = $.extend($.fn.bootstrapValidator.i18n.numeric || {}, {
         'default': 'Please enter a valid float number'
@@ -5702,7 +5703,7 @@ if (typeof jQuery === 'undefined') {
             return !isNaN(parseFloat(value)) && isFinite(value);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.phone = $.extend($.fn.bootstrapValidator.i18n.phone || {}, {
         'default': 'Please enter a valid phone number',
@@ -5883,7 +5884,7 @@ if (typeof jQuery === 'undefined') {
             };
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.regexp = $.extend($.fn.bootstrapValidator.i18n.regexp || {}, {
         'default': 'Please enter a value matching the pattern'
@@ -5925,7 +5926,7 @@ if (typeof jQuery === 'undefined') {
             return regexp.test(value);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.remote = $.extend($.fn.bootstrapValidator.i18n.remote || {}, {
         'default': 'Please enter a valid value'
@@ -6033,7 +6034,7 @@ if (typeof jQuery === 'undefined') {
             }
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.rtn = $.extend($.fn.bootstrapValidator.i18n.rtn || {}, {
         'default': 'Please enter a valid RTN number'
@@ -6071,7 +6072,7 @@ if (typeof jQuery === 'undefined') {
             return (sum !== 0 && sum % 10 === 0);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.sedol = $.extend($.fn.bootstrapValidator.i18n.sedol || {}, {
         'default': 'Please enter a valid SEDOL number'
@@ -6111,7 +6112,7 @@ if (typeof jQuery === 'undefined') {
             return sum + '' === value.charAt(length - 1);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.siren = $.extend($.fn.bootstrapValidator.i18n.siren || {}, {
         'default': 'Please enter a valid SIREN number'
@@ -6139,7 +6140,7 @@ if (typeof jQuery === 'undefined') {
             return $.fn.bootstrapValidator.helpers.luhn(value);
 		}
 	};
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.siret = $.extend($.fn.bootstrapValidator.i18n.siret || {}, {
         'default': 'Please enter a valid SIRET number'
@@ -6177,7 +6178,7 @@ if (typeof jQuery === 'undefined') {
 			return (sum % 10 === 0);
 		}
 	};
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.step = $.extend($.fn.bootstrapValidator.i18n.step || {}, {
         'default': 'Please enter a valid step of %s'
@@ -6241,7 +6242,7 @@ if (typeof jQuery === 'undefined') {
             };
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.stringCase = $.extend($.fn.bootstrapValidator.i18n.stringCase || {}, {
         'default': 'Please enter only lowercase characters',
@@ -6277,7 +6278,7 @@ if (typeof jQuery === 'undefined') {
             };
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.stringLength = $.extend($.fn.bootstrapValidator.i18n.stringLength || {}, {
         'default': 'Please enter a value with valid length',
@@ -6385,7 +6386,7 @@ if (typeof jQuery === 'undefined') {
             return { valid: isValid, message: message };
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.uri = $.extend($.fn.bootstrapValidator.i18n.uri || {}, {
         'default': 'Please enter a valid URI'
@@ -6494,7 +6495,7 @@ if (typeof jQuery === 'undefined') {
             return urlExp.test(value);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.uuid = $.extend($.fn.bootstrapValidator.i18n.uuid || {}, {
         'default': 'Please enter a valid UUID number',
@@ -6540,7 +6541,7 @@ if (typeof jQuery === 'undefined') {
             };
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.vat = $.extend($.fn.bootstrapValidator.i18n.vat || {}, {
         'default': 'Please enter a valid VAT number',
@@ -7957,7 +7958,7 @@ if (typeof jQuery === 'undefined') {
             return /^4[0-9]{9}$/.test(value);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.vin = $.extend($.fn.bootstrapValidator.i18n.vin || {}, {
         'default': 'Please enter a valid VIN number'
@@ -8006,7 +8007,7 @@ if (typeof jQuery === 'undefined') {
             return (reminder + '') === value.charAt(8);
         }
     };
-}(window.jQuery));
+}(jQuery));
 ;(function($) {
     $.fn.bootstrapValidator.i18n.zipCode = $.extend($.fn.bootstrapValidator.i18n.zipCode || {}, {
         'default': 'Please enter a valid postal code',
@@ -8227,4 +8228,4 @@ if (typeof jQuery === 'undefined') {
             return false;
         }
     };
-}(window.jQuery));
+}(jQuery));

ファイルの差分が大きいため隠しています
+ 7 - 6
dist/js/bootstrapValidator.min.js


+ 1 - 1
dist/js/language/ar_MA.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/be_FR.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/be_NL.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/bg_BG.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/cs_CZ.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/da_DK.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/de_DE.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/en_US.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/es_CL.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/es_ES.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/fa_IR.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/fr_FR.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/gr_EL.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/he_IL.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/hu_HU.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/id_ID.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/it_IT.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/ja_JP.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/nl_NL.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/no_NO.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/pl_PL.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/pt_BR.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/pt_PT.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/ro_RO.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/ru_RU.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/sq_AL.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/sr_RS.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/sv_SE.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/th_TH.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/tr_TR.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/ua_UA.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/vi_VN.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/zh_CN.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 1 - 1
dist/js/language/zh_TW.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(window.jQuery));
+}(jQuery));

+ 2 - 2
package.json

@@ -1,6 +1,6 @@
 {
     "name": "bootstrapValidator",
-    "version": "0.5.3-dev",
+    "version": "0.5.3",
     "description": "The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3",
     "keywords": ["jQuery", "plugin", "validate", "validator", "form", "Bootstrap"],
     "author": {
@@ -13,7 +13,7 @@
         "url": "https://github.com/nghuuphuoc/bootstrapvalidator/issues",
         "email": "phuoc@huuphuoc.me"
     },
-    "license": "MIT",
+    "license": "Commercial and non-commercial",
     "main": "./dist/js/bootstrapValidator.js",
     "repository": {
         "type": "git",

+ 4 - 3
src/js/bootstrapValidator.js

@@ -4,7 +4,8 @@
  *
  * @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/
  */
 
 if (typeof jQuery === 'undefined') {
@@ -16,7 +17,7 @@ if (typeof jQuery === 'undefined') {
     if ((+version[0] < 2 && +version[1] < 9) || (+version[0] === 1 && +version[1] === 9 && +version[2] < 1)) {
         throw new Error('BootstrapValidator requires jQuery version 1.9.1 or higher');
     }
-}(jQuery));
+}(window.jQuery));
 
 (function($) {
     var BootstrapValidator = function(form, options) {
@@ -1999,4 +2000,4 @@ if (typeof jQuery === 'undefined') {
             return (check === 1);
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/ar_MA.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/be_FR.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/be_NL.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/bg_BG.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/cs_CZ.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/da_DK.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/de_DE.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/en_US.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/es_CL.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/es_ES.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/fa_IR.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/fr_FR.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/gr_EL.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/he_IL.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/hu_HU.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/id_ID.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/it_IT.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/ja_JP.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/nl_NL.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/no_NO.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/pl_PL.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/pt_BR.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/pt_PT.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/ro_RO.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/ru_RU.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/sq_AL.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/sr_RS.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/sv_SE.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/th_TH.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/tr_TR.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/ua_UA.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/vi_VN.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/zh_CN.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/language/zh_TW.js

@@ -367,4 +367,4 @@
             }
         }
     });
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/base64.js

@@ -22,4 +22,4 @@
             return /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/.test(value);
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/between.js

@@ -74,4 +74,4 @@
             return (value + '').replace(',', '.');
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/blank.js

@@ -26,4 +26,4 @@
             return true;
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/callback.js

@@ -38,4 +38,4 @@
             return dfd;
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/choice.js

@@ -65,4 +65,4 @@
             return { valid: isValid, message: message };
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/color.js

@@ -126,4 +126,4 @@
             return regexInteger.test(value) || regexPercent.test(value);
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/creditCard.js

@@ -100,4 +100,4 @@
             return false;
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/cusip.js

@@ -52,4 +52,4 @@
             return sum === converted[length - 1];
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/cvv.js

@@ -113,4 +113,4 @@
                         : (('AMERICAN_EXPRESS' === creditCardType) ? (value.length === 4) : (value.length === 3));
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/date.js

@@ -249,4 +249,4 @@
             return new Date(year, month, day, hours, minutes, seconds);
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/different.js

@@ -45,4 +45,4 @@
             return isValid;
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/digits.js

@@ -21,4 +21,4 @@
             return /^\d+$/.test(value);
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/ean.js

@@ -37,4 +37,4 @@
             return (sum + '' === value.charAt(length - 1));
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/emailAddress.js

@@ -84,4 +84,4 @@
             return emailAddressArray;
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/file.js

@@ -85,4 +85,4 @@
             return true;
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/greaterThan.js

@@ -69,4 +69,4 @@
             return (value + '').replace(',', '.');
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/grid.js

@@ -34,4 +34,4 @@
             return $.fn.bootstrapValidator.helpers.mod37And36(value);
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/hex.js

@@ -22,4 +22,4 @@
             return /^[0-9a-fA-F]+$/.test(value);
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/hexColor.js

@@ -30,4 +30,4 @@
                         : /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(value);
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 1 - 1
src/js/validator/iban.js

@@ -243,4 +243,4 @@
             };
         }
     };
-}(jQuery));
+}(window.jQuery));

+ 0 - 0
src/js/validator/id.js


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません