Skip to content
This repository was archived by the owner on Mar 7, 2022. It is now read-only.

Commit aeb9458

Browse files
committed
linted
1 parent bd75a7b commit aeb9458

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

dist/angular-socialshare.sourcemap.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/angular-socialshare.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
$window.open(
5151
'//www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(data.url)
52-
,'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
52+
, 'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
5353
};
5454

5555
$scope.twitterShare = function manageTwitterShare (data) {
@@ -81,63 +81,63 @@
8181

8282
$window.open(
8383
'//plus.google.com/share?url=' + encodeURIComponent(data.url)
84-
,'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
84+
, 'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
8585
};
8686

8787
$scope.redditShare = function manageRedditShare (data) {
8888

8989
$window.open(
9090
'//www.reddit.com/submit?url=' + encodeURIComponent(data.url) + '&title=' + encodeURI(data.text)
91-
,'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
91+
, 'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
9292
};
9393

9494
$scope.stumbleuponShare = function manageStumbleuponShare (data) {
9595

9696
$window.open(
9797
'//www.stumbleupon.com/submit?url=' + encodeURIComponent(data.url) + '&title=' + encodeURI(data.text)
98-
,'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
98+
, 'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
9999
};
100100

101101
$scope.linkedinShare = function manageLinkedinShare (data) {
102102

103103
$window.open(
104104
'//www.linkedin.com/shareArticle?mini=true&url=' + encodeURIComponent(data.url) + '&title=' + encodeURI(data.text)
105-
,'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
105+
, 'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
106106
};
107107

108108
$scope.pinterestShare = function managePinterestShare (data) {
109109

110110
$window.open(
111111
'//www.pinterest.com/pin/create/button/?url=' + encodeURIComponent(data.url) + '&media=' + encodeURI(data.media) + '&description=' + encodeURI(data.text)
112-
,'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
112+
, 'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
113113
};
114114

115115
$scope.diggShare = function manageDiggShare (data) {
116116

117117
$window.open(
118118
'//www.digg.com/submit?url=' + encodeURIComponent(data.url) + '&title=' + encodeURI(data.text)
119-
,'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
119+
, 'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
120120
};
121121

122122
$scope.tumblrShare = function manageTumblrShare (data) {
123123
//tumblr doesnt likes http:// or https:// actually its a mistery
124124
$window.open(
125125
'//www.tumblr.com/share/link?url=' + encodeURIComponent(data.url.replace('http://', '').replace('https://')) + '&description=' + encodeURI(data.text)
126-
,'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
126+
, 'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
127127
};
128128

129129
$scope.vkShare = function manageVkShare (data) {
130130

131131
$window.open(
132132
'//www.vk.com/share.php?url=' + encodeURIComponent(data.url)
133-
,'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
133+
, 'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
134134
};
135135

136136
$scope.deliciousShare = function manageDeliciousShare (data) {
137137

138138
$window.open(
139139
'//www.delicious.com/save?v=5&noui&jump=close&url=' + encodeURIComponent(data.url) + '&title=' + encodeURI(data.text)
140-
,'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
140+
, 'sharer', 'toolbar=0,status=0,width=' + data.popupWidth + ',height=' + data.popupHeight);
141141
};
142142

143143
element.bind(properties.eventTrigger, function onEventTriggered() {

0 commit comments

Comments
 (0)