Skip to content

Commit db1cc6d

Browse files
committed
Update share-buttons.js
1 parent 79a25cb commit db1cc6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/share-buttons.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
TW_LINK_FORMAT = 'https://twitter.com/intent/tweet?url=',
1616
MAIL_LINK_FORMAT = 'mailto:?Subject={0}{1}&body={2}{3}',
1717

18-
// from http://evgeniy.pakalo.name/post/49
18+
// from https://wcoder.github.io/notes/string-format-for-string-formating-in-javascript
1919
stringFormat = function (str, args) {
2020
return str.replace(/\{(\d+)\}/g, function (m, n) {
2121
return args[n] || m;
@@ -175,4 +175,4 @@
175175
// start
176176
new ShareButtons().init();
177177

178-
}(window, document));
178+
}(window, document));

0 commit comments

Comments
 (0)