Skip to content

Commit 0fd2586

Browse files
committed
Agregando un poco de Mexico
1 parent 64fd050 commit 0fd2586

File tree

8 files changed

+3707
-1
lines changed

8 files changed

+3707
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ public/dist
44
.viewsMin
55
npm-debug.log
66
public/download
7-
.nyc_output
7+
.nyc_output
8+
.idea/

api/.nextRelease/data/MX/inject.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const { random, randomItem, pad, range, uppercaseify, include, } = require('../../api');
2+
3+
module.exports = (inc, contents) => {
4+
const pic = contents.picture;
5+
delete contents.picture;
6+
7+
include(inc, contents, 'phone', '(6' + random(3, 2) + ') ' + random(3, 3) + ' ' + random(3, 4));
8+
include(inc, contents, 'cell', '(6' + random(3, 2) + ') ' + random(3, 3) + ' ' + random(3, 4));
9+
include(inc, contents, 'id', {
10+
name: 'NSS',
11+
value: random(3, 2) + ' ' + random(3, 2) + ' ' + random(3, 2) + ' ' + random(3, 4) + ' ' + random(3, 1)
12+
});
13+
include(inc, contents, 'picture', pic);
14+
};

0 commit comments

Comments
 (0)