We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79a25cb commit db1cc6dCopy full SHA for db1cc6d
src/share-buttons.js
@@ -15,7 +15,7 @@
15
TW_LINK_FORMAT = 'https://twitter.com/intent/tweet?url=',
16
MAIL_LINK_FORMAT = 'mailto:?Subject={0}{1}&body={2}{3}',
17
18
- // from http://evgeniy.pakalo.name/post/49
+ // from https://wcoder.github.io/notes/string-format-for-string-formating-in-javascript
19
stringFormat = function (str, args) {
20
return str.replace(/\{(\d+)\}/g, function (m, n) {
21
return args[n] || m;
@@ -175,4 +175,4 @@
175
// start
176
new ShareButtons().init();
177
178
-}(window, document));
+}(window, document));
0 commit comments