Permalink
Browse files

-

  • Loading branch information...
2 parents f2ce056 + 6104230 commit 6d1c3b3985013b98c923b5df0d53bc423f20d5a9 @huacnlee committed Apr 8, 2014
View
@@ -16,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
+THE SOFTWARE.
@@ -20,7 +20,7 @@ window.SocialShareButton =
when "douban"
SocialShareButton.openUrl("http://shuo.douban.com/!service/share?href=#{url}&name=#{title}&image=#{img}")
when "facebook"
- SocialShareButton.openUrl("http://www.facebook.com/sharer.php?t=#{title}&u=#{url}")
+ SocialShareButton.openUrl("http://www.facebook.com/sharer.php?u=#{url}")
when "qq"
SocialShareButton.openUrl("http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=#{url}&title=#{title}&pics=#{img}")
when "tqq"
@@ -32,7 +32,7 @@ window.SocialShareButton =
when "renren"
SocialShareButton.openUrl("http://widget.renren.com/dialog/share?resourceUrl=#{url}&srcUrl=#{url}&title=#{title}&pic=#{img}&description=")
when "google_plus"
- SocialShareButton.openUrl("https://plus.google.com/share?url=#{url}&t=#{title}")
+ SocialShareButton.openUrl("https://plus.google.com/share?url=#{url}")
when "google_bookmark"
SocialShareButton.openUrl("https://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=#{url}&title=#{title}")
when "delicious"
@@ -56,7 +56,7 @@
.social-share-button-google_plus { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button@2x.png')) -16px -32px no-repeat; background-size:64px 64px;}
.social-share-button-kaixin001 { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button@2x.png')) -32px -32px no-repeat; background-size:64px 64px;}
.social-share-button-plurk { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button.png')) -48px 0px no-repeat; background-size:64px 64px; }
- .social-share-button-qq { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button@2x.png')) -48px 16px no-repeat; background-size:64px 64px;}
+ .social-share-button-qq { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button@2x.png')) -48px -16px no-repeat; background-size:64px 64px;}
.social-share-button-renren { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button@2x.png')) -48px -32px no-repeat; background-size:64px 64px;}
.social-share-button-tqq { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button@2x.png')) 0px -48 no-repeat; background-size:64px 64px;}
.social-share-button-tumblr { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button@2x.png')) -16px -48px no-repeat; background-size:64px 64px;}
@@ -23,5 +23,7 @@ Gem::Specification.new do |s|
s.files += %w(README.md Changelogs.md)
s.files += %w(app/assets/images/sprites/social-share-button.png app/assets/images/sprites/social-share-button@2x.png)
s.add_development_dependency "rails"
+ s.add_runtime_dependency "coffee-rails"
+ s.add_runtime_dependency "sass-rails"
# s.add_runtime_dependency "rest-client"
end

0 comments on commit 6d1c3b3

Please sign in to comment.