social_sharer 0.1.3 → 0.1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/social_sharer/version.rb +1 -1
- data/lib/social_sharer/view_helpers.rb +12 -12
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4847d0b2a59b1ee1c778e56e99a18f44000f0d2
|
4
|
+
data.tar.gz: 94b2d9035e1c50ea8613d906644374f02c8f977b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ec3d281b9dcd1a1764dc60eaf19239fbf5c1b1fef658d3d7baf8cc56a559684d3fe00588d8aeb7bd0ca097b09897510e46928311155a759f66e84b19667e8f7
|
7
|
+
data.tar.gz: 79434bbff8457d457fa07f7677a17e73fbcedf7ff2312bbbf882113d16ab55423f2946399ba072f150c6cf83e6f3d3349c3bf19e1150ed6465923a44eb1056af
|
@@ -21,18 +21,18 @@ module SocialSharer
|
|
21
21
|
"via #{twitter_handle} "
|
22
22
|
end
|
23
23
|
|
24
|
-
link_to('Share on Twitter', 'http://twitter.com/', rel: 'nofollow', onclick: "popUp=window.open("\
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
link_to('Share on Facebook', 'http://www.facebook.com/', rel: 'nofollow', onclick: "popUp=window.open("\
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
24
|
+
link_to('Share on Twitter', 'http://twitter.com/', rel: 'nofollow', class: 'social_share_tw', onclick: "popUp=window.open("\
|
25
|
+
"'http://twitter.com/intent/tweet?text=#{twitter_message} #{twitter_handle_text}#{twitter_url}',"\
|
26
|
+
"'popupwindow',"\
|
27
|
+
"'scrollbars=yes,width=800,height=400');"\
|
28
|
+
"popUp.focus();"\
|
29
|
+
"return false") +
|
30
|
+
link_to('Share on Facebook', 'http://www.facebook.com/', rel: 'nofollow', class: 'social_share_fb', onclick: "popUp=window.open("\
|
31
|
+
"'http://www.facebook.com/sharer.php?u=#{facebook_url}',"\
|
32
|
+
"'popupwindow',"\
|
33
|
+
"'scrollbars=yes,width=800,height=400');"\
|
34
|
+
"popUp.focus();"\
|
35
|
+
"return false")
|
36
36
|
end
|
37
37
|
|
38
38
|
private
|