提交 b71af089 编写于 作者: G Gabriele Cirulli

add hashtags on 2048

上级 62a314ad
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
Created by <a href="http://gabrielecirulli.com" target="_blank">Gabriele Cirulli.</a> Based on <a href="https://itunes.apple.com/us/app/1024!/id823499224" target="_blank">1024 by Veewo Studio.</a> Created by <a href="http://gabrielecirulli.com" target="_blank">Gabriele Cirulli.</a> Based on <a href="https://itunes.apple.com/us/app/1024!/id823499224" target="_blank">1024 by Veewo Studio.</a>
</p> </p>
<div class="sharing"> <div class="sharing">
<a href="https://twitter.com/share" class="twitter-share-button" data-text="Check out 2048, a game where you join numbers to score high!" data-via="gabrielecirulli">Tweet</a> <a href="https://twitter.com/share" class="twitter-share-button" data-text="Check out #2048, a game where you join numbers to score high!" data-via="gabrielecirulli">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div> </div>
</div> </div>
......
...@@ -130,7 +130,7 @@ HTMLActuator.prototype.scoreTweetButton = function () { ...@@ -130,7 +130,7 @@ HTMLActuator.prototype.scoreTweetButton = function () {
tweet.setAttribute("data-via", "gabrielecirulli"); tweet.setAttribute("data-via", "gabrielecirulli");
tweet.textContent = "Tweet"; tweet.textContent = "Tweet";
var text = "I scored " + this.score + " points at 2048, a game where you " + var text = "I scored " + this.score + " points at #2048, a game where you " +
"join numbers to score high!"; "join numbers to score high!";
tweet.setAttribute("data-text", text); tweet.setAttribute("data-text", text);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册