Skip to content

Commit

Permalink
v2.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
marcandre committed Apr 30, 2019
1 parent 12d614c commit fffecbf
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ JavaScript form validation, without actually writing a single line of JavaScript

## Version

2.9.0
2.9.1

## Doc

Expand Down
10 changes: 5 additions & 5 deletions dist/parsley.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/parsley.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/parsley.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/parsley.min.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions doc/annotated-source/validator.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ <h1>validator.js</h1>
<span class="hljs-keyword">return</span> <span class="hljs-keyword">this</span>.validateDate(...arguments);
}
<span class="hljs-keyword">if</span> (<span class="hljs-keyword">this</span>.validateNumber) {
<span class="hljs-keyword">if</span> (!value) <span class="hljs-comment">// Builtin validators all accept empty strings, except `required` of course</span>
<span class="hljs-keyword">return</span> <span class="hljs-literal">true</span>;
<span class="hljs-keyword">if</span> (<span class="hljs-built_in">isNaN</span>(value))
<span class="hljs-keyword">return</span> <span class="hljs-literal">false</span>;
<span class="hljs-built_in">arguments</span>[<span class="hljs-number">0</span>] = <span class="hljs-built_in">parseFloat</span>(<span class="hljs-built_in">arguments</span>[<span class="hljs-number">0</span>]);
Expand Down
2 changes: 0 additions & 2 deletions doc/annotated-source/validator_registry.html
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,6 @@ <h1>validator_registry.js</h1>
<div class="content"><div class='highlight'><pre><span class="hljs-keyword">let</span> operatorToValidator = <span class="hljs-function">(<span class="hljs-params">type, operator</span>) =&gt;</span> {
<span class="hljs-keyword">return</span> <span class="hljs-function">(<span class="hljs-params">value, ...requirementsAndInput</span>) =&gt;</span> {
requirementsAndInput.pop(); <span class="hljs-comment">// Get rid of `input` argument</span>
<span class="hljs-keyword">if</span> (!value)
<span class="hljs-keyword">return</span> <span class="hljs-literal">true</span>; <span class="hljs-comment">// Builtin validators all accept empty strings, except `required` of course</span>
<span class="hljs-keyword">return</span> operator(value, ...parseArguments(type, requirementsAndInput));
};
};
Expand Down
12 changes: 7 additions & 5 deletions doc/assets/spec-build.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions doc/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ <h3 class="text-muted"><a href="../">Parsley</a></h3>

<!-- Jumbotron -->
<div class="jumbotron">
<h1>Download <em>Parsley</em> <small class="parsley-version">v2.9.0</small></h1>
<h1>Download <em>Parsley</em> <small class="parsley-version">v2.9.1</small></h1>
<hr>
<div class="col-md-12"><h2>Whole project..</h2></div>

<div class="col-md-12"><code>$ bower install --save parsleyjs</code></div>
<div class="col-md-12"><code>$ npm install --save parsleyjs</code></div>
<div class="col-md-12"><a href="https://github.com/guillaumepotier/Parsley.js/releases/tag/2.9.0" class="download" data-version="zipball" target="_blank">parsley.zip</a> <small>250ko</small></div>
<div class="col-md-12"><a href="https://github.com/guillaumepotier/Parsley.js/releases/tag/2.9.1" class="download" data-version="zipball" target="_blank">parsley.zip</a> <small>250ko</small></div>

<div class="col-md-12"><h2>..or pick & go!</h2></div>

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ <h3 class="text-muted"><a href="#">Parsley</a></h3>
<h1><em>Parsley</em>, the <strong>ultimate</strong> JavaScript <strong>form validation</strong> library</h1>
<p class="lead">Validating forms frontend have never been so <em>powerful</em> and <em>easy</em>.</p>
<p><a class="btn btn-lg btn-go" href="doc/index.html" role="button">Get started today</a></p>
<p class="version"><i class="icon glyphicon glyphicon-tag"></i>&nbsp;<span class="parsley-version">v2.9.0</span></p>
<p class="version"><i class="icon glyphicon glyphicon-tag"></i>&nbsp;<span class="parsley-version">v2.9.1</span></p>
</div>

<!-- Example row of columns -->
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "parsleyjs",
"version": "2.9.0",
"version": "2.9.1",
"homepage": "http://parsleyjs.org",
"license": "MIT",
"description": "Validate your forms, frontend, without writing a single line of javascript!",
Expand Down

0 comments on commit fffecbf

Please sign in to comment.