Skip to content

Commit

Permalink
Merge pull request #564 from clbn/patch-1
Browse files Browse the repository at this point in the history
Fix typos in error message
  • Loading branch information
javve authored Dec 16, 2018
2 parents 4569413 + 6053bbc commit e65b0f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templater.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ var Templater = function(list) {
return false;
}
if (itemSource === undefined) {
throw new Error("The list need to have at list one item on init otherwise you'll have to add a template.");
throw new Error("The list needs to have at least one item on init otherwise you'll have to add a template.");
}
/* If item source does not exists, use the first item in list as
source for new items */
Expand Down

0 comments on commit e65b0f5

Please sign in to comment.