File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ Reddit | re
69
69
Evernote | ev
70
70
LinkedIn | in
71
71
Pinterest | pi
72
+ Skype | sk
72
73
EMail | mail
73
74
74
75
## Customizing
Original file line number Diff line number Diff line change 37
37
< a class ="btn-evernote " data-id ="ev "> < i class ="far fa-sticky-note "> </ i > Evernote</ a >
38
38
< a class ="btn-linkedin " data-id ="in "> < i class ="fab fa-linkedin "> </ i > LinkedIn</ a >
39
39
< a class ="btn-pinterest " data-id ="pi "> < i class ="fab fa-pinterest "> </ i > Pinterest</ a >
40
+ < a class ="btn-skype " data-id ="sk "> < i class ="fab fa-skype "> </ i > Skype</ a >
40
41
< a class ="btn-mail " data-id ="mail "> < i class ="fas fa-at "> </ i > EMail</ a >
41
42
</ div >
42
43
Original file line number Diff line number Diff line change 19
19
EV_LINK_FORMAT = 'https://www.evernote.com/clip.action?url={0}&t={1}' ,
20
20
IN_LINK_FORMAT = 'https://www.linkedin.com/shareArticle?mini=true&url={0}&title={1}&summary={2}&source={0}' ,
21
21
PI_LINK_FORMAT = 'https://pinterest.com/pin/create/button/?url={0}&media={0}&description={1}' ,
22
+ SK_LINK_FORMAT = 'https://web.skype.com/share?url={0}&source=button&text={1}' ,
22
23
MAIL_LINK_FORMAT = 'mailto:?Subject={0}{1}&body={2}{3}' ,
23
24
FB_CLASS_NAME = 'fb' ,
24
25
VK_CLASS_NAME = 'vk' ,
29
30
EV_CLASS_NAME = 'ev' ,
30
31
IN_CLASS_NAME = 'in' ,
31
32
PI_CLASS_NAME = 'pi' ,
33
+ SK_CLASS_NAME = 'sk' ,
32
34
MAIL_CLASS_NAME = 'mail' ,
33
35
34
36
// from https://wcoder.github.io/notes/string-format-for-string-formating-in-javascript
204
206
titleDef ) ;
205
207
break ;
206
208
209
+ case SK_CLASS_NAME :
210
+ this . popupCenter (
211
+ stringFormat ( SK_LINK_FORMAT , [
212
+ url ,
213
+ mergeForTitle ( [ title , desc ] )
214
+ ] ) ,
215
+ titleDef ) ;
216
+ break ;
217
+
207
218
case MAIL_CLASS_NAME :
208
219
if ( title . length > 0 && desc . length > 0 ) {
209
220
text = mergeForTitle ( [ title , desc ] ) ;
You can’t perform that action at this time.
0 commit comments