Skip to content

Commit

Permalink
mention CC BY-SA 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NovemLinguae committed Jul 19, 2023
1 parent f1893f7 commit 95cb152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/friendlytag.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ Twinkle.tag.callback = function friendlytagCallback() {
case 'redirect':
Window.setTitle('Redirect tagging');

// Utility function
// https://stackoverflow.com/a/2548133/3480193
// https://stackoverflow.com/questions/280634/endswith-in-javascript/2548133#2548133
// Author chakrit, CC BY-SA 4.0
var endsWith = function(str, suffix) {
return str.indexOf(suffix, str.length - suffix.length) !== -1;
};
Expand Down

0 comments on commit 95cb152

Please sign in to comment.