Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created February 5, 2015 17:46
Show Gist options
  • Save objectivehtml/bf1af33860f52857c694 to your computer and use it in GitHub Desktop.
Save objectivehtml/bf1af33860f52857c694 to your computer and use it in GitHub Desktop.
this.$el.find('.facebook').sharrre({
share: {
facebook: true
},
template:'<span class="icon-facebook-squared"></span><span class="count">{total}</span>',
enableHover: false,
enableTracking: true,
click: function(api, options){
api.simulateClick();
api.openPopup('facebook');
}
});
this.$el.find('.twitter').sharrre({
share: {
twitter: true
},
template:'<span class="icon-twitter"></span><span class="count">{total}</span>',
enableHover: false,
enableTracking: true,
click: function(api, options){
api.simulateClick();
api.openPopup('twitter');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment