aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarak <[email protected]>2014-09-22 13:51:44 +0200
committerMarak <[email protected]>2014-09-22 13:51:44 +0200
commit1f572a34d29c1f8f6d6c963d4aa8862dd662e2cf (patch)
treee1c8d09c49ed70fccec3cfd90b4888b33746160f /examples
parentaae1ec2dc60075311b66dbe6bb5af9db6cd63e61 (diff)
downloadfaker-1f572a34d29c1f8f6d6c963d4aa8862dd662e2cf.tar.xz
faker-1f572a34d29c1f8f6d6c963d4aa8862dd662e2cf.zip
[fix] Rename state_abbr to stateAbbr
Diffstat (limited to 'examples')
-rw-r--r--examples/browser/index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/browser/index.html b/examples/browser/index.html
index 4ddd5f71..bf533f45 100644
--- a/examples/browser/index.html
+++ b/examples/browser/index.html
@@ -86,6 +86,7 @@
$('#inputDob').attr("value", dob);
$('#inputStreetAddress').attr("value", faker.address.streetAddress());
$('#inputCityStateZip').attr("value", faker.address.city() + ", " + faker.address.state_abbr() + " " + faker.address.zipCode());
+ $('#inputCountry').attr("value", faker.locales[faker.locale].address.default_country || "");
$('#inputPhone').attr("value", faker.phone.phoneNumber());
$('#inputUsername').attr("value", faker.internet.userName(firstName, lastName));
$('#inputPassword').attr("value", faker.internet.password());