discourse/app
riking 996e5cf021 Make Discourse.ShareLink easy for plugins
For example, this javascript code, if added by a plugin, would enable a Tumblr share link:

Discourse.ShareLink.addTarget('tumblr', {
  iconClass: 'fa-tumblr',
  generateUrl: function(link, title) {
    return ("http://www.tumblr.com/share/link?url=" + encodeURIComponent(link) + "&description=" + encodeURIComponent(title));
  },
  shouldOpenInPopup: true
});
2014-03-13 23:38:57 -07:00
..
assets Make Discourse.ShareLink easy for plugins 2014-03-13 23:38:57 -07:00
controllers Trust level 4: add ability to edit any post and see edit history 2014-03-13 10:47:49 -04:00
helpers FIX: undefined method error for some digests. 2014-02-21 16:25:19 -05:00
jobs FEATURE: New site setting to enable a daily automatic backup 2014-03-12 13:30:47 -04:00
mailers FEATURE: mailing list mode always available 2014-03-05 14:21:53 +11:00
models Do not include moderator posts in the group area. 2014-03-13 14:06:40 -04:00
serializers Trust level 4: add ability to edit any post and see edit history 2014-03-13 10:47:49 -04:00
services Rename nickname to username in the code. Use new hub routes. (Old routes still exist as aliases for old Discourse instances.) 2014-03-12 12:39:36 -04:00
views FIX: Clean up next/prev rel links 2014-03-03 12:56:37 -05:00