aboutsummaryrefslogtreecommitdiff
path: root/examples/index.html
diff options
context:
space:
mode:
authorAlexey Osipenko <[email protected]>2011-12-28 11:38:03 +0200
committerAlexey Osipenko <[email protected]>2011-12-28 11:38:03 +0200
commit84ab59342f333bc33a992ec5ca37d8716295a536 (patch)
tree9930ead4be40d782d766cac6b1409aa0d1a09668 /examples/index.html
parent308683c3c29c8e72148d6ce88f1c50880864b57f (diff)
downloadfaker-84ab59342f333bc33a992ec5ca37d8716295a536.tar.xz
faker-84ab59342f333bc33a992ec5ca37d8716295a536.zip
Trailing spaces
Diffstat (limited to 'examples/index.html')
-rw-r--r--examples/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/index.html b/examples/index.html
index cd622a4f..c46516fc 100644
--- a/examples/index.html
+++ b/examples/index.html
@@ -34,17 +34,17 @@
}
$(document).ready(function(e){
-
+
var card = Faker.Helpers.createCard();
$('#output').html(prettyPrint(card));
-
+
$('#generate').click(function(){
var card = Faker.Helpers.createCard();
$('#output').html(prettyPrint(card));
});
-
+
$('#generateSet').click(function(){
-
+
setTimeout(function(){
var cards = [];
for(var i = 0; i < $('#cardCount').val(); i++){
@@ -55,14 +55,14 @@
}, 10);
});
-
+
});
</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>
+ <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/>