Permalink
Browse files

Trailing spaces

  • Loading branch information...
1 parent 308683c commit 84ab59342f333bc33a992ec5ca37d8716295a536 Alexey Osipenko committed Dec 28, 2011
Showing with 178 additions and 178 deletions.
  1. +3 −3 BUILD/BUILD.js
  2. +5 −5 BUILD/docs.js
  3. +5 −5 BUILD/main.js
  4. +15 −15 Faker.js
  5. +6 −6 examples/index.html
  6. +15 −15 examples/js/Faker.js
  7. +108 −108 examples/js/prettyPrint.js
  8. +6 −6 index.js
  9. +8 −8 lib/helpers.js
  10. +1 −1 lib/internet.js
  11. +3 −3 lib/name.js
  12. +3 −3 lib/phone_number.js
View
@@ -1,8 +1,8 @@
var sys = require('sys')
, fs = require('fs')
, M = require('./Mustache');
-
-
+
+
var code = '';
@@ -11,7 +11,7 @@ var docs = {};
docs.main = '';
docs.API = '';
-// read in the the main.js file as our main boilerplate code
+// read in the the main.js file as our main boilerplate code
code += fs.readFileSync('./main.js', encoding='utf8');
code = M.Mustache.to_html(code, {"today":new Date().getTime()});
View
@@ -5,16 +5,16 @@
## USAGE
-### browser -
-
+### browser -
+
<script src = "Faker.js" type = "text/javascript"></script>
<script>
var randomName = Faker.Name.findName(); // Caitlyn Kerluke
var randomEmail = Faker.Internet.email(); // Rusty@arne.info
var randomCard = Faker.Helpers.createCard(); // random contact card containing many properties
</script>
-### node.js -
+### node.js -
### usage
@@ -23,15 +23,15 @@
var randomName = Faker.Name.findName(); // Rowan Nikolaus
var randomEmail = Faker.Internet.email(); // Kassandra.Haley@erich.biz
var randomCard = Faker.Helpers.createCard(); // random contact card containing many properties
-
+
## API
{{{API}}}
## Authors
-####Matthew Bergman & Marak Squires
+####Matthew Bergman & Marak Squires
Heavily inspired by Benjamin Curtis's Ruby Gem [Faker](http://faker.rubyforge.org/) and Perl's [Data::Faker](http://search.cpan.org/~jasonk/Data-Faker-0.07/lib/Data/Faker.pm)
View
@@ -24,15 +24,15 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
/*************** AUTOGENERATED @ {{today}} ***************
WARNING: THIS FILE WAS AUTOGENERATED BY THE FAKER BUILD SCRIPT
- MODIFYING THIS FILE IS FINE, BUT YOU REALLY SHOULD BE MODIFYING
+ MODIFYING THIS FILE IS FINE, BUT YOU REALLY SHOULD BE MODIFYING
THE LIBRARY DIRECTLY AND REGENERATING THIS FILE USING BUILD.js!!!!
Faker.js - Written by Matthew Bergman and Marak Squires
-
+
## USAGE
-
- ### browser -
+
+ ### browser -
<script src = "Faker.js" type = "text/javascript"></script>
<script>
@@ -41,7 +41,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
var randomCard = Faker.Helpers.createCard(); // random contact card containing many properties
</script>
- ### node.js -
+ ### node.js -
var Faker = require('./Faker');
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -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/>
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 84ab593

Please sign in to comment.