Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1967fcc

Browse files
committed
changed share button
1 parent 9e9b088 commit 1967fcc

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

index.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!doctype html>
1+
<!doctype html>
22
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
33
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
44
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
@@ -39,7 +39,8 @@
3939
<div class="clearfix">
4040
<h1>JavaScript Pattern Collection</h1>
4141
<div id="btns">
42-
<span class='st_twitter_hcount' displayText='Tweet'></span><span class='st_facebook_hcount' displayText='Facebook'></span><span class='st_fblike_hcount' ></span><span class='st_plusone_hcount' ></span>
42+
<span class="twitter"><a href="https://twitter.com/share" class="twitter-share-button" data-url="http://shichuan.github.com/javascript-patterns/" data-via="shichuan" data-hashtags="javascript">Tweet</a></span>
43+
<span class='st_sharethis' displayText='ShareThis'></span>
4344
</div>
4445
</div>
4546
<img src="img/js-patterns.png" alt="JS Patterns" title="JS Patterns" />
@@ -238,11 +239,9 @@ <h2><em>References</em></h2>
238239
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.6.4.min.js"><\/script>')</script>
239240

240241

241-
<!-- scripts concatenated and minified via build script -->
242-
<script type="text/javascript">var switchTo5x=true;</script><script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher:'44fc3536-fd12-4c07-970d-6654da9a2d6c'});</script>
243-
<!-- end scripts -->
244-
245-
242+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
243+
<script type="text/javascript">var switchTo5x=false;</script><script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher:'44fc3536-fd12-4c07-970d-6654da9a2d6c'});</script>
244+
246245
<!-- Asynchronous Google Analytics snippet. Change UA-XXXXX-X to be your site's ID.
247246
mathiasbynens.be/notes/async-analytics-snippet -->
248247
<script>

0 commit comments

Comments
 (0)