Skip to content

Commit a539d90

Browse files
committed
Cleanup
1 parent 2126b58 commit a539d90

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

example/dynamic.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
var s = social[i];
5757
shareBtnContainer.innerHTML += '<a class="' + s.className + '" data-id="' + s.id + '">' +
5858
'<i class="' + s.icon + '"></i> ' + s.name + '</a>';
59-
}
59+
}
6060

6161
window.ShareButtons.update();
6262
</script>

src/share-buttons.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
(function (global, factory) {
2-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3-
typeof define === 'function' && define.amd ? define(factory) :
4-
(global = global || self, global.ShareButtons = factory());
2+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3+
typeof define === 'function' && define.amd ? define(factory) :
4+
(global = global || self, global.ShareButtons = factory());
55
}(this, function () { 'use strict';
6-
6+
77
var w = window;
88
var d = w.document;
99

@@ -359,9 +359,9 @@
359359
var shareButtons = new ShareButtons();
360360
shareButtons.i();
361361

362-
return {
363-
update: function () {
364-
shareButtons.i();
362+
return {
363+
update: function () {
364+
shareButtons.i();
365365
}
366366
};
367367

0 commit comments

Comments
 (0)