aboutsummaryrefslogtreecommitdiff
path: root/examples/browser_test.html
diff options
context:
space:
mode:
authorMarak <[email protected]>2014-09-14 05:31:02 +0200
committerMarak <[email protected]>2014-09-14 05:31:02 +0200
commit38f9e3a5b25606e605276acf3f39b6e5c8202255 (patch)
tree40bcc85c77788949effe1d5701cbaa5a16a01722 /examples/browser_test.html
parent0048b9f6cfd69378ca3ba2f588444e7bb8095d23 (diff)
downloadfaker-38f9e3a5b25606e605276acf3f39b6e5c8202255.tar.xz
faker-38f9e3a5b25606e605276acf3f39b6e5c8202255.zip
[refactor] [major] Renamed variable names for consistency Closes #5
[refactor [major] Moved all errant methods from random.js to individual modules. Methods in random.js were causing unnecessary code complication.
Diffstat (limited to 'examples/browser_test.html')
-rw-r--r--examples/browser_test.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/browser_test.html b/examples/browser_test.html
index 59feeff5..01bd7be2 100644
--- a/examples/browser_test.html
+++ b/examples/browser_test.html
@@ -2,7 +2,7 @@
<head>
<script src = "../faker.js" type = "text/javascript"></script>
<script>
- var card = faker.Helpers.createCard();
+ var card = faker.helpers.createCard();
if(typeof JSON == 'undefined'){
document.write('get a real browser that has JSON.stringify and JSON.parse built in <br/>');
// implement JSON.stringify serialization