Skip to content

Commit

Permalink
Trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Osipenko committed Dec 28, 2011
1 parent 308683c commit 84ab593
Show file tree
Hide file tree
Showing 12 changed files with 178 additions and 178 deletions.
6 changes: 3 additions & 3 deletions BUILD/BUILD.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
var sys = require('sys')
, fs = require('fs')
, M = require('./Mustache');




var code = '';
Expand All @@ -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()});

Expand Down
10 changes: 5 additions & 5 deletions BUILD/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(); // [email protected]
var randomCard = Faker.Helpers.createCard(); // random contact card containing many properties
</script>

### node.js -
### node.js -

### usage

Expand All @@ -23,15 +23,15 @@
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


## 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)

Expand Down
10 changes: 5 additions & 5 deletions BUILD/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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');
Expand Down
30 changes: 15 additions & 15 deletions Faker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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++){
Expand All @@ -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/>
Expand Down
30 changes: 15 additions & 15 deletions examples/js/Faker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 84ab593

Please sign in to comment.