social_share_privacy 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module SocialSharePrivacy
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -165,7 +165,7 @@
165
165
  if (facebook_on) {
166
166
  var fb_enc_uri = encodeURIComponent(uri + options.services.facebook.referrer_track);
167
167
  var fb_code = '<iframe src="http://www.facebook.com/plugins/like.php?locale=' + options.services.facebook.language + '&amp;href=' + fb_enc_uri + '&amp;send=false&amp;layout=button_count&amp;width=120&amp;show_faces=false&amp;action=' + options.services.facebook.action + '&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:145px; height:21px;" allowTransparency="true"></iframe>';
168
- var fb_dummy_btn = '<img src="' + <%= image_path 'social_share_privacy/facebook_dummy.png' %> + '" alt="Facebook &quot;Like&quot;-Dummy" class="fb_like_privacy_dummy" />';
168
+ var fb_dummy_btn = '<img src="<%= image_path 'social_share_privacy/facebook_dummy.png' %>" alt="Facebook &quot;Like&quot;-Dummy" class="fb_like_privacy_dummy" />';
169
169
 
170
170
  context.append('<li class="facebook help_info"><span class="info">' + options.services.facebook.txt_info + '</span><span class="switch off">' + options.services.facebook.txt_fb_off + '</span><div class="fb_like dummy_btn">' + fb_dummy_btn + '</div></li>');
171
171
 
@@ -198,7 +198,7 @@
198
198
  var twitter_enc_uri = encodeURIComponent(uri + options.services.twitter.referrer_track);
199
199
  var twitter_count_url = encodeURIComponent(uri);
200
200
  var twitter_code = '<iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://platform.twitter.com/widgets/tweet_button.html?url=' + twitter_enc_uri + '&amp;counturl=' + twitter_count_url + '&amp;text=' + text + '&amp;count=horizontal&amp;lang=' + options.services.twitter.language + '" style="width:130px; height:25px;"></iframe>';
201
- var twitter_dummy_btn = '<img src="' + <%= image_path 'social_share_privacy/twitter_dummy.png' %> + '" alt="&quot;Tweet this&quot;-Dummy" class="tweet_this_dummy" />';
201
+ var twitter_dummy_btn = '<img src="<%= image_path 'social_share_privacy/twitter_dummy.png' %>" alt="&quot;Tweet this&quot;-Dummy" class="tweet_this_dummy" />';
202
202
 
203
203
  context.append('<li class="twitter help_info"><span class="info">' + options.services.twitter.txt_info + '</span><span class="switch off">' + options.services.twitter.txt_twitter_off + '</span><div class="tweet dummy_btn">' + twitter_dummy_btn + '</div></li>');
204
204
 
@@ -226,7 +226,7 @@
226
226
 
227
227
  // we use the Google+ "asynchronous" code, standard code is flaky if inserted into dom after load
228
228
  var gplus_code = '<div class="g-plusone" data-size="medium" data-href="' + gplus_uri + '"></div><script type="text/javascript">window.___gcfg = {lang: "' + options.services.gplus.language + '"}; (function() { var po = document.createElement("script"); po.type = "text/javascript"; po.async = true; po.src = "https://apis.google.com/js/plusone.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s); })(); </script>';
229
- var gplus_dummy_btn = '<img src="' + <%= image_path 'social_share_privacy/gplus_dummy.png' %> + '" alt="&quot;Google+1&quot;-Dummy" class="gplus_one_dummy" />';
229
+ var gplus_dummy_btn = '<img src="<%= image_path 'social_share_privacy/gplus_dummy.png' %>" alt="&quot;Google+1&quot;-Dummy" class="gplus_one_dummy" />';
230
230
 
231
231
  context.append('<li class="gplus help_info"><span class="info">' + options.services.gplus.txt_info + '</span><span class="switch off">' + options.services.gplus.txt_gplus_off + '</span><div class="gplusone dummy_btn">' + gplus_dummy_btn + '</div></li>');
232
232
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_share_privacy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: