Welcome to mirror list, hosted at ThFree Co, Russian Federation.

socialsharingdefault.js « js - github.com/nextcloud/socialsharing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b31a03a2bbe94b569ad02b20834a72b5505f9485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
(function() {
	var twitter = new OC.Share.Social.Model({
		key: 'twitter',
		url: 'https://twitter.com/intent/tweet?url={{reference}}',
		name: 'Twitter',
		iconClass: 'icon-social-twitter'
	});
	OC.Share.Social.Collection.add(twitter);
	var facebook = new OC.Share.Social.Model({
		key: 'facebook',
		url: 'https://www.facebook.com/sharer/sharer.php?u={{reference}}',
		name: 'Facebook',
		iconClass: 'icon-social-facebook'
	});
	OC.Share.Social.Collection.add(facebook);
	var diaspora = new OC.Share.Social.Model({
		key: 'diaspora',
		url: 'https://share.diasporafoundation.org/?url={{reference}}',
		name: 'Diaspora',
		iconClass: 'icon-social-diaspora'
	});
	OC.Share.Social.Collection.add(diaspora);

})();