Fixes all current bugs, and does a range of improvements to pretty much all the areas. Please see the diff for comments on changes. Please give your feedback, guys, and also test it a bit more. I did what I could there, but it won't hurt to double-check :)
Handle gracefully incorrect service names(now it doesn't die if encounters a service with a typo)
Fixed cross-origin resource sharing warnings with badly supported JSONP, now likely does not flood console with a warning. Before it was so:
New features
Expanded and updated the lists of available params for all the services.
Allowed again static values for overriding counters and avoid API calls. Now you can set the exact counter as param. It can be useful to save traffic for clients or to avoid AdBlock interference.
Tech improvements
Remove JSONP because of CORS - keep only for VK, which supports it properly. Other services reworked to use simple XHR.
Updated dependencies
Limit deprecations to be displayed only once on the first load and to not flood in the console.
Removed possible memory leaks when there are several copies of the buttons on the page or force updates
Specified Exact release files(the last release got an accidental inclusion of some hidden text file from my mac)
Viber now relies on "data-title" as other services
More robust handling of failed responses from services
Refactoring
Many things are massively simplified
Removed dead code
Speeded it up a bit because of JSONP removal
Improve method names
Documentation
Add API documentation to links to the services
Improved and reorganized Readme(also alphabetically)
Update documentation about supported params
Added documentation about OGP(site preview supported by social networks)
Fixes all current bugs, and does a range of improvements to pretty much all the areas. Please see the diff for comments on changes. Please give your feedback, guys, and also test it a bit more. I did what I could there, but it won't hurt to double-check :)
Fixes
New features
Tech improvements
Refactoring
Documentation
Optics