Skip to content

Commit cbfcfc7

Browse files
committed
Rebuild examples.
1 parent 6fb83e0 commit cbfcfc7

File tree

2 files changed

+30
-30
lines changed

2 files changed

+30
-30
lines changed

EXAMPLE.md

+29-29
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Async Validate
3636

3737
#### additional
3838

39-
* [doc/example/additional](https://github.com/freeformsystems/async-validate/blob/master/doc/example/additional.js).
39+
* [doc/example/additional](https://github.com/tmpfs/async-validate/blob/master/doc/example/additional.js).
4040

4141
```javascript
4242
// generate errors when additional fields are present
@@ -106,7 +106,7 @@ schema.validate(source, opts, function(err, res) {
106106

107107
#### assigned-rule
108108

109-
* [doc/example/assigned-rule](https://github.com/freeformsystems/async-validate/blob/master/doc/example/assigned-rule.js).
109+
* [doc/example/assigned-rule](https://github.com/tmpfs/async-validate/blob/master/doc/example/assigned-rule.js).
110110

111111
```javascript
112112
// assign a function to a rule
@@ -153,7 +153,7 @@ schema.validate(source, function(err, res) {
153153

154154
#### bail
155155

156-
* [doc/example/bail](https://github.com/freeformsystems/async-validate/blob/master/doc/example/bail.js).
156+
* [doc/example/bail](https://github.com/tmpfs/async-validate/blob/master/doc/example/bail.js).
157157

158158
```javascript
159159
// bail on first error encountered
@@ -196,7 +196,7 @@ schema.validate(source, opts, function(err, res) {
196196

197197
#### deep
198198

199-
* [doc/example/deep](https://github.com/freeformsystems/async-validate/blob/master/doc/example/deep.js).
199+
* [doc/example/deep](https://github.com/tmpfs/async-validate/blob/master/doc/example/deep.js).
200200

201201
```javascript
202202
// validate properties of a nested object
@@ -238,7 +238,7 @@ schema.validate(source, function(err, res) {
238238

239239
#### inline-rule
240240

241-
* [doc/example/inline-rule](https://github.com/freeformsystems/async-validate/blob/master/doc/example/inline-rule.js).
241+
* [doc/example/inline-rule](https://github.com/tmpfs/async-validate/blob/master/doc/example/inline-rule.js).
242242

243243
```javascript
244244
// assign a function as a rule
@@ -277,7 +277,7 @@ schema.validate(source, function(err, res) {
277277

278278
#### instanceof
279279

280-
* [doc/example/instanceof](https://github.com/freeformsystems/async-validate/blob/master/doc/example/instanceof.js).
280+
* [doc/example/instanceof](https://github.com/tmpfs/async-validate/blob/master/doc/example/instanceof.js).
281281

282282
```javascript
283283
// validate a field is an instanceof a function
@@ -312,7 +312,7 @@ schema.validate(source, function(err, res) {
312312

313313
#### len
314314

315-
* [doc/example/len](https://github.com/freeformsystems/async-validate/blob/master/doc/example/len.js).
315+
* [doc/example/len](https://github.com/tmpfs/async-validate/blob/master/doc/example/len.js).
316316

317317
```javascript
318318
// validate a field length
@@ -346,7 +346,7 @@ schema.validate(source, function(err, res) {
346346

347347
#### match
348348

349-
* [doc/example/match](https://github.com/freeformsystems/async-validate/blob/master/doc/example/match.js).
349+
* [doc/example/match](https://github.com/tmpfs/async-validate/blob/master/doc/example/match.js).
350350

351351
```javascript
352352
// validate all fields of an object
@@ -384,7 +384,7 @@ schema.validate(source, function(err, res) {
384384

385385
#### max
386386

387-
* [doc/example/max](https://github.com/freeformsystems/async-validate/blob/master/doc/example/max.js).
387+
* [doc/example/max](https://github.com/tmpfs/async-validate/blob/master/doc/example/max.js).
388388

389389
```javascript
390390
// validate a field has a maximum length
@@ -423,7 +423,7 @@ schema.validate(source, function(err, res) {
423423

424424
#### message-clone
425425

426-
* [doc/example/message-clone](https://github.com/freeformsystems/async-validate/blob/master/doc/example/message-clone.js).
426+
* [doc/example/message-clone](https://github.com/tmpfs/async-validate/blob/master/doc/example/message-clone.js).
427427

428428
```javascript
429429
// clone default messages
@@ -465,7 +465,7 @@ schema.validate(source, function(err, res) {
465465

466466
#### message-function
467467

468-
* [doc/example/message-function](https://github.com/freeformsystems/async-validate/blob/master/doc/example/message-function.js).
468+
* [doc/example/message-function](https://github.com/tmpfs/async-validate/blob/master/doc/example/message-function.js).
469469

470470
```javascript
471471
// override error message with function
@@ -506,7 +506,7 @@ schema.validate(source, function(err, res) {
506506

507507
#### message-override
508508

509-
* [doc/example/message-override](https://github.com/freeformsystems/async-validate/blob/master/doc/example/message-override.js).
509+
* [doc/example/message-override](https://github.com/tmpfs/async-validate/blob/master/doc/example/message-override.js).
510510

511511
```javascript
512512
// override default error message
@@ -547,7 +547,7 @@ schema.validate(source, function(err, res) {
547547

548548
#### message
549549

550-
* [doc/example/message](https://github.com/freeformsystems/async-validate/blob/master/doc/example/message.js).
550+
* [doc/example/message](https://github.com/tmpfs/async-validate/blob/master/doc/example/message.js).
551551

552552
```javascript
553553
// override error message
@@ -585,7 +585,7 @@ schema.validate(source, function(err, res) {
585585

586586
#### min
587587

588-
* [doc/example/min](https://github.com/freeformsystems/async-validate/blob/master/doc/example/min.js).
588+
* [doc/example/min](https://github.com/tmpfs/async-validate/blob/master/doc/example/min.js).
589589

590590
```javascript
591591
// validate a field has a minimum length
@@ -619,7 +619,7 @@ schema.validate(source, function(err, res) {
619619

620620
#### multiple-rules
621621

622-
* [doc/example/multiple-rules](https://github.com/freeformsystems/async-validate/blob/master/doc/example/multiple-rules.js).
622+
* [doc/example/multiple-rules](https://github.com/tmpfs/async-validate/blob/master/doc/example/multiple-rules.js).
623623

624624
```javascript
625625
// validate a field with multiple rules
@@ -664,7 +664,7 @@ schema.validate(source, function(err, res) {
664664

665665
#### multiple-types
666666

667-
* [doc/example/multiple-types](https://github.com/freeformsystems/async-validate/blob/master/doc/example/multiple-types.js).
667+
* [doc/example/multiple-types](https://github.com/tmpfs/async-validate/blob/master/doc/example/multiple-types.js).
668668

669669
```javascript
670670
// validate a field as one of multiple types
@@ -698,7 +698,7 @@ schema.validate(source, function(err, res) {
698698

699699
#### pattern
700700

701-
* [doc/example/pattern](https://github.com/freeformsystems/async-validate/blob/master/doc/example/pattern.js).
701+
* [doc/example/pattern](https://github.com/tmpfs/async-validate/blob/master/doc/example/pattern.js).
702702

703703
```javascript
704704
// validate a field as matching a pattern
@@ -732,7 +732,7 @@ schema.validate(source, function(err, res) {
732732

733733
#### placeholder
734734

735-
* [doc/example/placeholder](https://github.com/freeformsystems/async-validate/blob/master/doc/example/placeholder.js).
735+
* [doc/example/placeholder](https://github.com/tmpfs/async-validate/blob/master/doc/example/placeholder.js).
736736

737737
```javascript
738738
// use a placeholder to set a default value
@@ -766,7 +766,7 @@ schema.validate(source, function() {
766766

767767
#### plugin-rule
768768

769-
* [doc/example/plugin-rule](https://github.com/freeformsystems/async-validate/blob/master/doc/example/plugin-rule.js).
769+
* [doc/example/plugin-rule](https://github.com/tmpfs/async-validate/blob/master/doc/example/plugin-rule.js).
770770

771771
```javascript
772772
// validate a field with a plugin rule
@@ -815,7 +815,7 @@ schema.validate(source, function(err, res) {
815815

816816
#### range
817817

818-
* [doc/example/range](https://github.com/freeformsystems/async-validate/blob/master/doc/example/range.js).
818+
* [doc/example/range](https://github.com/tmpfs/async-validate/blob/master/doc/example/range.js).
819819

820820
```javascript
821821
// validate a field has a length within a range
@@ -855,7 +855,7 @@ schema.validate(source, function(err, res) {
855855

856856
#### required
857857

858-
* [doc/example/required](https://github.com/freeformsystems/async-validate/blob/master/doc/example/required.js).
858+
* [doc/example/required](https://github.com/tmpfs/async-validate/blob/master/doc/example/required.js).
859859

860860
```javascript
861861
// validate a field as required
@@ -889,7 +889,7 @@ schema.validate(source, function(err, res) {
889889

890890
#### source-type
891891

892-
* [doc/example/source-type](https://github.com/freeformsystems/async-validate/blob/master/doc/example/source-type.js).
892+
* [doc/example/source-type](https://github.com/tmpfs/async-validate/blob/master/doc/example/source-type.js).
893893

894894
```javascript
895895
// validate the type of the source object
@@ -918,7 +918,7 @@ schema.validate(source, function(err, res) {
918918

919919
#### state
920920

921-
* [doc/example/state](https://github.com/freeformsystems/async-validate/blob/master/doc/example/state.js).
921+
* [doc/example/state](https://github.com/tmpfs/async-validate/blob/master/doc/example/state.js).
922922

923923
```javascript
924924
// pass state information between rule test functions
@@ -970,17 +970,17 @@ schema.validate(source, opts, function(err, res) {
970970
```
971971

972972
```
973-
[ { [Error: email: could not resolve dns for domain 1442714024700.com]
973+
[ { [Error: email: could not resolve dns for domain 1452926841026.com]
974974
field: 'email',
975-
value: 'foo@1442714024700.com',
976-
parent: { email: 'foo@1442714024700.com' },
975+
value: 'foo@1452926841026.com',
976+
parent: { email: 'foo@1452926841026.com' },
977977
names: [ 'email' ],
978978
key: 'email' } ]
979979
```
980980

981981
#### type
982982

983-
* [doc/example/type](https://github.com/freeformsystems/async-validate/blob/master/doc/example/type.js).
983+
* [doc/example/type](https://github.com/tmpfs/async-validate/blob/master/doc/example/type.js).
984984

985985
```javascript
986986
// validate a field type
@@ -1014,7 +1014,7 @@ schema.validate(source, function(err, res) {
10141014

10151015
#### whitespace
10161016

1017-
* [doc/example/whitespace](https://github.com/freeformsystems/async-validate/blob/master/doc/example/whitespace.js).
1017+
* [doc/example/whitespace](https://github.com/tmpfs/async-validate/blob/master/doc/example/whitespace.js).
10181018

10191019
```javascript
10201020
// validate a field as whitespace
@@ -1046,7 +1046,7 @@ schema.validate(source, function(err, res) {
10461046
reason: { id: 'whitespace' } } ]
10471047
```
10481048

1049-
Generated by [mdp(1)](https://github.com/freeformsystems/mdp).
1049+
Generated by [mdp(1)](https://github.com/tmpfs/mdp).
10501050

10511051
[node]: http://nodejs.org
10521052
[npm]: http://www.npmjs.org

doc/example.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"require": "lib",
66
"links": "links.md",
77
"toc": "Table of Contents",
8-
"base": "https://github.com/freeformsystems/async-validate",
8+
"base": "https://github.com/tmpfs/async-validate",
99
"partial": [
1010
{
1111
"bin": "node doc/example.js"

0 commit comments

Comments
 (0)