Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5852725

Browse files
author
kristinn93
committedMar 21, 2018
test 3
1 parent 6c66b0c commit 5852725

File tree

3 files changed

+9
-17
lines changed

3 files changed

+9
-17
lines changed
 

‎dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎formats-web.js

+1-9
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,7 @@ formats["SM.json"] = require("./formats/SM.json");
4949
formats["SO.json"] = require("./formats/SO.json");
5050
formats["SZ.json"] = require("./formats/SZ.json");
5151
formats["TC.json"] = require("./formats/TC.json");
52-
formats["US.json"] = {
53-
Description: "US : NNNNN[-NNNN]",
54-
RedundantCharacters: " -",
55-
ValidationRegex: "^[0-9]{5}([0-9]{4})?$",
56-
TestData: {
57-
Valid: ["12345", "12345-7689"],
58-
Invalid: ["x1231s", "1231sd", "1010101010"]
59-
}
60-
};
52+
formats["US.json"] = require("./formats/US.json");
6153
formats["VA.json"] = require("./formats/VA.json");
6254
formats["VC.json"] = require("./formats/VC.json");
6355
formats["VE.json"] = require("./formats/VE.json");

‎formats/US.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
{
2-
Description: "US : NNNNN[-NNNN]",
3-
RedundantCharacters: " -",
4-
ValidationRegex: "^[0-9]{5}([0-9]{4})?$",
5-
TestData: {
6-
Valid: ["12345", "12345-7689"],
7-
Invalid: ["x1231s", "1231sd", "1010101010"]
1+
{
2+
"Description": "US : NNNNN[-NNNN]",
3+
"RedundantCharacters": " -",
4+
"ValidationRegex": "^[0-9]{5}([0-9]{4})?$",
5+
"TestData": {
6+
"Valid": ["12345", "12345-7689"],
7+
"Invalid": ["x1231s", "1231sd", "1010101010"]
88
}
99
}

0 commit comments

Comments
 (0)
Please sign in to comment.