Skip to content

Commit

Permalink
[misc] Comment out new fields in demo ( for now )
Browse files Browse the repository at this point in the history
  * Won’t be available until next release
  * Was causing demo to break #547
  • Loading branch information
Marak committed Sep 20, 2017
1 parent d58ee47 commit eea53ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
var dob = faker.date.past(50, new Date("Sat Sep 20 1992 21:35:02 GMT+0200 (CEST)"));
dob = dob.getFullYear() + "-" + (dob.getMonth()+1) + "-" + dob.getDate(); // First month is "1"
$('#inputName').attr("value", faker.name.findName(firstName, lastName));
$('#inputGender').attr("value", faker.name.gender());
// $('#inputGender').attr("value", faker.name.gender());
$('#inputDob').attr("value", dob);
$('#inputStreetAddress').attr("value", faker.address.streetAddress());
$('#inputCityStateZip').attr("value", faker.address.city() + ", " + faker.address.stateAbbr() + " " + faker.address.zipCode());
Expand Down Expand Up @@ -259,13 +259,14 @@ <h2>Generate Person Example</h2>
<img class="" id="imageAvatar"/>
</div>
</div>

<!--
<div class="form-group">
<label for="inputGender" class="col-lg-2 control-label">Gender:</label>
<div class="col-lg-10">
<input type="text" class="form-control" id="inputGender" placeholder="Gender">
</div>
</div>
-->

</fieldset>
</form>
Expand Down

0 comments on commit eea53ca

Please sign in to comment.