Commit Graph

79 Commits (e3f9d54d99cd521b893d8824765d589d2c6b4d80)

Author SHA1 Message Date
Rebrov Boris e3f9d54d99 Change Odnoklassniki counter API to work via HTTPS. 2014-10-23 18:00:15 +04:00
Artem Sapegin e30e52f6e5 Calculate real number of counters.
On HTTPS pages Google+ counter won’t work because Yandex Share API
doesn’t support HTTPS. In this case counter would never appear because
number of buttons is not the same as number of counters we could
request and show.
2014-10-09 11:08:28 +04:00
Artem Sapegin d8740c5177 Add comment explaining why there are only one Google+ counter per session. 2014-09-10 21:43:40 +04:00
Artem Sapegin 9a1abecffb Add comment. 2014-04-28 18:20:30 +04:00
Artem Sapegin 9a63f3b01c Fix typo in comment. 2014-04-28 18:20:30 +04:00
Alexey Tatarinov 84882968cb Update social-likes.js
Fix closure compiler error:
"ERROR - Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option.
        'class': this.getElementClassNames('counter'),"
2014-04-11 05:37:26 -07:00
Artem Sapegin 09a691c7a9 Service detection refactoring (#61). 2014-04-10 09:51:02 +04:00
fliptheweb d8f0845a8c Skip excess loop in detectService 2014-04-05 15:54:18 +11:00
fliptheweb f3444317c7 Optional detect service from data-service attribute 2014-04-05 01:31:14 +11:00
Artem Sapegin e0627dce23 Update jscs and other deps. 2014-04-04 17:00:38 +04:00
Artem Sapegin 73082c20fb Disable Google+ counter on HTTPS pages (close #58). 2014-04-01 13:11:56 +04:00
Artem Sapegin 5ed3e956e2 Always use HTTPS for Twitter (#58). 2014-04-01 13:11:21 +04:00
Artem Sapegin df66b102ca Toggle single button popup on button click. 2014-04-01 12:49:35 +04:00
Artem Sapegin 6d2fc9255c Fix paddings on single button popup in Birman skin in Safari. 2014-04-01 12:39:23 +04:00
Artem Sapegin 70d7039117 popup_opened and popup_closed events. 2014-02-12 16:40:51 +04:00
Artem Sapegin 82594924a5 forceUpdate option. 2014-02-12 16:22:04 +04:00
Artem Sapegin bd2f6f9a83 Fix `class` in IE. 2014-02-12 15:52:58 +04:00
Artem Sapegin 9dea9eb48b Dynamic change of Pinterest image. 2014-02-04 13:03:37 +04:00
Artem Sapegin b52d1cf154 Ability to dynamically update URL. 2014-02-04 12:50:52 +04:00
Artem Sapegin e4a08ce9a3 New single button popups. 2014-02-04 10:38:31 +04:00
Artem Sapegin 534d04ad8a Detect HTTPS. 2014-02-03 15:11:17 +04:00
Artem Sapegin e923fde406 Use HTTPS for Facebook. 2014-02-03 15:07:40 +04:00
Artem Sapegin 7d80f6a652 Merge branch 'master' into flat
Conflicts:
	Readme.md
2014-02-03 11:58:08 +04:00
Dmitry Popov 68a1af675f vkontakte.ru -> vk.com 2014-01-20 17:50:21 +04:00
Artem Sapegin 5e06a01cac Fix ready event. 2014-01-16 15:06:36 +04:00
Artem Sapegin cbd3def372 _open → _opened. 2014-01-16 11:21:49 +04:00
Artem Sapegin 5671ca72b9 Fix buttons with links. 2014-01-16 11:20:18 +04:00
Artem Sapegin 8d117c5406 Show button only after counters are loaded or after timeout. 2014-01-16 11:06:31 +04:00
Artem Sapegin d09459f632 Refactor options. 2014-01-15 12:27:09 +04:00
Artem Sapegin 40239572a9 Show all counters at once, ready event. 2014-01-14 12:18:59 +04:00
Artem Sapegin c7118f1947 Make widgets clickable instead of button. 2014-01-14 10:48:32 +04:00
Artem Sapegin f94ed8c309 Remove search. 2014-01-14 10:35:18 +04:00
Artem Sapegin 93c28d6ffb Update copyright year. 2014-01-14 10:31:31 +04:00
Artem Sapegin b6bf82ee54 Use Google+ counter by Yandex.
There is one limitation: it will show counter only for the first button
set (=== share URL) on a page.
2014-01-14 10:18:07 +04:00
Artem Sapegin 33bae0ac72 Single button now wrapped in widget. 2013-12-31 11:46:56 +04:00
Artem Sapegin 94293c802b Tweak search links. 2013-12-24 00:34:20 +04:00
Artem Sapegin 59bbf4f3ca Merge branch 'flat' of github.com:sapegin/social-likes into flat
Conflicts:
	src/social-likes.js
2013-12-23 23:55:51 +04:00
Artem Sapegin 145e3faaa9 Merge master, update deps. 2013-12-23 23:50:29 +04:00
Artem Sapegin 07ad0c7673 Merge branch 'master' into flat
Conflicts:
	contrib/css/github.css
	social-likes.css
2013-12-23 23:41:30 +04:00
Alexander Burtsev 6739a10fa1 Update social-likes.js 2013-12-05 16:15:18 +03:00
Alexander Burtsev 69e58d0ee6 JavaScript options: yes/true fixes 2013-12-05 16:08:30 +03:00
Alexander Burtsev 602345abbf JavaScript options: small refactoring 2013-12-05 15:21:06 +03:00
ironlion 6a2cb429db Override/add one property of an existing button
To be able override/add only a one property of an existing button.
2013-11-29 10:08:18 +03:00
Alexander Burtsev 9112c7aa41 JavaScript options 2013-11-01 18:00:21 +03:00
Artem Sapegin bfbdfcc15e jscs. 2013-10-29 21:35:33 +04:00
Artem Sapegin 1a3ae8cc03 Merge branch 'master' into flat 2013-10-29 08:22:23 +04:00
Artem Sapegin b3ecbc8c55 Ability to show zeroes. 2013-10-29 00:23:10 +04:00
Artem Sapegin 6412fcbb96 Flat skin draft.
1. No pixels.
2. SVG icons → web fonts.
3. Light version.
4. ul>li → div>div.
5. JS refactoring.
2013-10-29 00:02:23 +04:00
Dmitry Kuznetsov ad55c7ac3b add searchUrl option for searching shared url in social networks. 2013-10-04 15:40:29 +04:00
Artem Sapegin b1ea0582e8 CSS fade. 2013-09-23 22:26:58 +04:00