forked from zuriby/Faker.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
511fce8
commit 1e7b4b8
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
var Helpers = require('./helpers'); | ||
var definitions = require('./definitions'); | ||
|
||
exports.phoneNumber = function(){ | ||
exports.phoneNumber = function () { | ||
|
||
return Helpers.replaceSymbolWithNumber(Helpers.randomize(definitions.phone_formats())); | ||
|
||
}; | ||
|
||
exports.phoneNumberFormat = function ( format ){ | ||
exports.phoneNumberFormat = function (format) { | ||
return Helpers.replaceSymbolWithNumber(definitions.phone_formats()[format]); | ||
}; |