diff options
| author | Brandon Dail <[email protected]> | 2015-07-15 13:44:24 -0500 |
|---|---|---|
| committer | Brandon Dail <[email protected]> | 2015-07-15 13:44:24 -0500 |
| commit | 76e3fa5949412ea475de6bba55d6c1194f84540c (patch) | |
| tree | c978d8bd8677afdae079ffa76828295d27e61c34 | |
| parent | 5196c2bcbe39c9c39f47a33c8c06cd0e51b84c27 (diff) | |
| download | faker-76e3fa5949412ea475de6bba55d6c1194f84540c.tar.xz faker-76e3fa5949412ea475de6bba55d6c1194f84540c.zip | |
cleaned up files
| -rw-r--r-- | Readme.md | 8 | ||||
| -rw-r--r-- | index.html | 20 |
2 files changed, 5 insertions, 23 deletions
@@ -38,7 +38,7 @@ As of version `v3.0.0` faker.js contains a super useful generator method `Faker. **Example:** ``` js --console.log(faker.fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}')); +console.log(faker.fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}')); // outputs: "Marks, Dean Sr." ``` @@ -226,7 +226,7 @@ faker.locale = "de"; ### Individual Localization Packages -As of vesion `v3.0.0` faker.js supports incremental loading of locales. +As of vesion `v3.0.0` faker.js supports incremental loading of locales. By default, requiring `faker` will include *all* locale data. @@ -269,7 +269,7 @@ See: https://github.com/lestoni/faker-cli var randomName = faker.name.findName(); // Rowan Nikolaus var randomEmail = faker.internet.email(); // [email protected] var randomCard = faker.helpers.createCard(); // random contact card containing many properties - + ## Authors @@ -302,3 +302,5 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + diff --git a/index.html b/index.html deleted file mode 100644 index 97a1b3cd..00000000 --- a/index.html +++ /dev/null @@ -1,20 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="UTF-8"> - <title>Document</title> -</head> -<body> - <h1>Hello</h1> - - <script src="./build/build/faker.js"></script> - <script> - - faker.seed(100); - var name = faker.name.findName(); - console.log(name); - - </script> - -</body> -</html>d |
