Skip to content

Commit

Permalink
Support old node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shawrkbait committed Nov 9, 2018
1 parent 799b5f8 commit 8137193
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ function Sentencer() {
// THE GOODS
// ---------------------------------------------

Sentencer.prototype.make = function(template, maxIterations = 1) {
Sentencer.prototype.make = function(template, maxIterations) {
maxIterations = maxIterations || 1;
var self = this;

var sentence = template;
Expand Down

0 comments on commit 8137193

Please sign in to comment.