Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
Release version 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ansman committed May 20, 2016
1 parent 85d50c1 commit f44c89b
Show file tree
Hide file tree
Showing 12 changed files with 335 additions and 229 deletions.
2 changes: 1 addition & 1 deletion bower.json
Expand Up @@ -2,7 +2,7 @@
"name": "validate",
"description": "Declarative validations for JavaScript",
"main": "validate.js",
"version": "0.9.0",
"version": "0.10.0",
"moduleType": [
"amd",
"globals",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Expand Up @@ -5,7 +5,7 @@
"repo" : "ansman/validate.js",
"main" : "validate.js",
"scripts" : ["validate.js"],
"version" : "0.9.0",
"version" : "0.10.0",
"license" : "MIT"
}

24 changes: 18 additions & 6 deletions docs/docco.css
Expand Up @@ -21,11 +21,11 @@
}

@font-face {
font-family: 'novecento-bold';
src: url('public/fonts/novecento-bold.eot');
src: url('public/fonts/novecento-bold.eot?#iefix') format('embedded-opentype'),
url('public/fonts/novecento-bold.woff') format('woff'),
url('public/fonts/novecento-bold.ttf') format('truetype');
font-family: 'roboto-black';
src: url('public/fonts/roboto-black.eot');
src: url('public/fonts/roboto-black.eot?#iefix') format('embedded-opentype'),
url('public/fonts/roboto-black.woff') format('woff'),
url('public/fonts/roboto-black.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
Expand Down Expand Up @@ -67,14 +67,17 @@ h1, h2, h3, h4, h5, h6 {
color: #112233;
line-height: 1em;
font-weight: normal;
font-family: "novecento-bold";
font-family: "roboto-black";
text-transform: uppercase;
margin: 30px 0 15px 0;
}

h1 {
margin-top: 40px;
}
h2 {
font-size: 1.26em;
}

hr {
border: 0;
Expand Down Expand Up @@ -180,9 +183,18 @@ ul.sections > li > div {
display: block;
}

#jump_page_wrapper{
position: fixed;
right: 0;
top: 0;
bottom: 0;
}

#jump_page {
padding: 5px 0 3px;
margin: 0 0 25px 25px;
max-height: 100%;
overflow: auto;
}

#jump_page .source {
Expand Down
Binary file added docs/public/fonts/roboto-black.eot
Binary file not shown.
Binary file added docs/public/fonts/roboto-black.ttf
Binary file not shown.
Binary file added docs/public/fonts/roboto-black.woff
Binary file not shown.
502 changes: 295 additions & 207 deletions docs/validate.html

Large diffs are not rendered by default.

20 changes: 13 additions & 7 deletions index.html
Expand Up @@ -404,7 +404,7 @@
<li>
<a href="#changelog">Changelog</a>
<ul>
<li><a href="#changelog-wip">WIP</a></li>
<li><a href="#changelog-0-10-0">0.10.0</a></li>
<li><a href="#changelog-0-9-0">0.9.0</a></li>
<li><a href="#changelog-0-8-0">0.8.0</a></li>
<li><a href="#changelog-0-7-1">0.7.1</a></li>
Expand Down Expand Up @@ -461,15 +461,15 @@
</p>
<h2 id="downloads">Downloads</h2>
<div class="download">
<a class="btn btn-default" download href="validate.js">Development version (0.9.0)</a>
<a class="btn btn-default" download href="validate.js">Development version (0.10.0)</a>
<div class="info">
<span class="details">33KB, uncompressed and plenty of comments</span>
</div>
</div>
<div class="download">
<a class="btn btn-primary" download href="validate.min.js">Production version (0.9.0)</a>
<a class="btn btn-primary" download href="validate.min.js">Production version (0.10.0)</a>
<div class="info">
<span class="details">4.4KB, minified and gzipped</span><br>
<span class="details">4.6KB, minified and gzipped</span><br>
<a download href="validate.min.map">(Source map)</a>
</div>
</div>
Expand All @@ -488,7 +488,7 @@ <h2 id="downloads">Downloads</h2>
<div id="installing">
<h2>Installing</h2>
<b>Browser/CDN</b>
<pre><code class="html">&lt;script src="//cdnjs.cloudflare.com/ajax/libs/validate.js/0.9.0/validate.min.js"&gt;&lt;/script&gt;</code></pre>
<pre><code class="html">&lt;script src="//cdnjs.cloudflare.com/ajax/libs/validate.js/0.10.0/validate.min.js"&gt;&lt;/script&gt;</code></pre>
<b>Require.js/AMD</b>
<pre><code class="javascript">require(["validate.js"], function(validate) {
// ...
Expand Down Expand Up @@ -2260,9 +2260,15 @@ <h2>Utilities</h2>
</div>
<div id="changelog">
<h2>Changelog</h2>
<div id="changelog-wip">
<div id="changelog-0.10.0">
<h3>
<b class="version">WIP</b>
<b class="version">0.10.0</b>
-
<span class="date">May 20, 2016</span>
-
<a href="http://htmlpreview.github.com/?https://raw.github.com/ansman/validate.js/0.10.0/index.html">Docs</a>
-
<a href="https://github.com/ansman/validate.js/compare/0.9.0...0.10.0">Diff</a>
</h3>
<ul>
<li>
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "validate.js",
"version": "0.9.0",
"version": "0.10.0",
"author": "Nicklas Ansman <nicklas@ansman.se>",
"description": "Declarative validations for JavaScript",
"main": "validate.js",
Expand Down
6 changes: 3 additions & 3 deletions validate.js
@@ -1,5 +1,5 @@
/*!
* validate.js 0.9.0
* validate.js 0.10.0
*
* (c) 2013-2016 Nicklas Ansman, 2013 Wrapp
* Validate.js may be freely distributed under the MIT license.
Expand Down Expand Up @@ -56,9 +56,9 @@
// The toString function will allow it to be coerced into a string
version: {
major: 0,
minor: 9,
minor: 10,
patch: 0,
metadata: "development",
metadata: null,
toString: function() {
var version = v.format("%{major}.%{minor}.%{patch}", v.version);
if (!v.isEmpty(v.version.metadata)) {
Expand Down
4 changes: 2 additions & 2 deletions validate.min.js

Large diffs are not rendered by default.

0 comments on commit f44c89b

Please sign in to comment.