aboutsummaryrefslogtreecommitdiff
path: root/examples/index.html
diff options
context:
space:
mode:
authorFotoVerite <[email protected]>2014-05-17 15:35:45 -0400
committerFotoVerite <[email protected]>2014-05-17 15:35:45 -0400
commit3eee796fdff9f4226e211f01cd5926d3d05d28ae (patch)
treecdab238c20b7458b34da8f6e9933edbf4c83abea /examples/index.html
parentdaa95b3a4f3eb5131970271be3820ddb45d30022 (diff)
downloadfaker-3eee796fdff9f4226e211f01cd5926d3d05d28ae.tar.xz
faker-3eee796fdff9f4226e211f01cd5926d3d05d28ae.zip
Moving to major new version for change of package name for uppercase to lowercase.
Diffstat (limited to 'examples/index.html')
-rw-r--r--examples/index.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/index.html b/examples/index.html
index c46516fc..6327ab9a 100644
--- a/examples/index.html
+++ b/examples/index.html
@@ -1,9 +1,9 @@
<html>
<head>
- <title>Faker.js - generate massive amounts of fake data in Node.js and the browser</title>
+ <title>faker.js - generate massive amounts of fake data in Node.js and the browser</title>
<script src = "js/jquery.js" type = "text/javascript"></script>
<script src = "js/prettyPrint.js" type = "text/javascript"></script>
- <script src = "js/Faker.js" type = "text/javascript"></script>
+ <script src = "js/faker.js" type = "text/javascript"></script>
<script>
@@ -35,11 +35,11 @@
$(document).ready(function(e){
- var card = Faker.Helpers.createCard();
+ var card = faker.Helpers.createCard();
$('#output').html(prettyPrint(card));
$('#generate').click(function(){
- var card = Faker.Helpers.createCard();
+ var card = faker.Helpers.createCard();
$('#output').html(prettyPrint(card));
});
@@ -48,7 +48,7 @@
setTimeout(function(){
var cards = [];
for(var i = 0; i < $('#cardCount').val(); i++){
- var card = Faker.Helpers.createCard();
+ var card = faker.Helpers.createCard();
cards.push(card);
}
$('#output').html('<textarea cols = "100" rows = "100">'+JSON.stringify(cards)+'</textarea>');
@@ -61,12 +61,12 @@
</script>
</head>
<body>
- <h1>Faker.js - generate massive amounts of fake data in Node.js and the browser</h1>
- <a href="http://github.com/marak/Faker.js/"><img style="position:absolute; z-index:10; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub" /></a>
+ <h1>faker.js - generate massive amounts of fake data in Node.js and the browser</h1>
+ <a href="http://github.com/marak/faker.js/"><img style="position:absolute; z-index:10; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub" /></a>
<input id = "generate" type = "button" value = "generate one random card as HTML" />
<input id = "generateSet" type = "button" value = "generate an assosative array of random cards as JSON" />
card count : <input id = "cardCount" type = "text" size = "3" value = "5" /><br/><br/>
- <strong>protip</strong>: open your console on this page and run: <code>console.log(Faker); var randomName = Faker.Name.findName(); console.log(randomName);</code><hr/>
+ <strong>protip</strong>: open your console on this page and run: <code>console.log(faker); var randomName = faker.Name.findName(); console.log(randomName);</code><hr/>
<div id = "output"></div>
</body>
</html>