Skip to content
This repository was archived by the owner on Sep 10, 2023. It is now read-only.

Commit dc4c6ea

Browse files
committed
Fix trailing comma
1 parent 634cf71 commit dc4c6ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ <h2>Local Data Search with custom propertyToSearch, resultsFormatter and tokenFo
450450
], {
451451
propertyToSearch: "first_name",
452452
resultsFormatter: function(item){ return "<li>" + "<img src='" + item.url + "' title='" + item.first_name + " " + item.last_name + "' height='25px' width='25px' />" + "<div style='display: inline-block; padding-left: 10px;'><div class='full_name'>" + item.first_name + " " + item.last_name + "</div><div class='email'>" + item.email + "</div></div></li>" },
453-
tokenFormatter: function(item) { return "<li><p>" + item.first_name + " " + item.last_name + "</p></li>" },
453+
tokenFormatter: function(item) { return "<li><p>" + item.first_name + " " + item.last_name + "</p></li>" }
454454
});
455455
});
456456
</script>
@@ -669,7 +669,7 @@ <h2>Change propertyToSearch anytime</h2>
669669
], {
670670
propertyToSearch: "first_name",
671671
resultsFormatter: function(item){ return "<li>" + "<img src='" + item.url + "' title='" + item.first_name + " " + item.last_name + "' height='25px' width='25px' />" + "<div style='display: inline-block; padding-left: 10px;'><div class='first_name'>" + item.first_name + " " + item.last_name + "</div><div class='email'>" + item.email + "</div><div class='url'>" + item.url + "</div></div></li>" },
672-
tokenFormatter: function(item) { return "<li><p>" + item.first_name + " " + item.last_name + "</p></li>" },
672+
tokenFormatter: function(item) { return "<li><p>" + item.first_name + " " + item.last_name + "</p></li>" }
673673
});
674674
});
675675
</script>

0 commit comments

Comments
 (0)