Skip to content

Commit fa66c5e

Browse files
committed
fix css and tweet content
1 parent bb6dfb3 commit fa66c5e

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

2048/full/js/html_actuator.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,13 @@ HTMLActuator.prototype.scoreTweetButton = function () {
193193
var tweet = document.createElement("a");
194194
tweet.classList.add("twitter-share-button");
195195
tweet.setAttribute("href", "https://twitter.com/share");
196-
tweet.setAttribute("data-via", "gabrielecirulli");
197-
tweet.setAttribute("data-url", "http://git.io/131072");
198-
tweet.setAttribute("data-counturl", "http://gabrielecirulli.github.io/131072/");
196+
tweet.setAttribute("data-via", "oprilzeng");
197+
tweet.setAttribute("data-url", "http://oprilzeng.github.io/2048/full");
198+
tweet.setAttribute("data-counturl", "http://oprilzeng.github.io/2048/full/");
199199
tweet.textContent = "Tweet";
200200

201-
var text = "I scored " + this.score + " points at 131072, a game where you " +
202-
"join numbers to score high! #131072game";
201+
var text = "I scored " + this.score + " points at PRC2048-Full edition, a game where you " +
202+
"join numbers to score high! #PRC2048";
203203
tweet.setAttribute("data-text", text);
204204

205205
return tweet;

2048/full/style/main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@ hr {
428428
.tile.tile-64 .tile-inner {
429429
font-size: 20px; } }
430430
@media screen and (max-width: 520px) {
431-
.tile.tile-512 .tile-inner {
432-
font-size: 16px; } }
431+
.tile.tile-256 .tile-inner {
432+
font-size: 15px; } }
433433
@media screen and (max-width: 520px) {
434434
.tile.tile-2048 .tile-inner {
435435
font-size: 20px;

2048/js/html_actuator.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,13 @@ HTMLActuator.prototype.scoreTweetButton = function () {
170170
var tweet = document.createElement("a");
171171
tweet.classList.add("twitter-share-button");
172172
tweet.setAttribute("href", "https://twitter.com/share");
173-
tweet.setAttribute("data-via", "gabrielecirulli");
174-
tweet.setAttribute("data-url", "http://git.io/2048");
175-
tweet.setAttribute("data-counturl", "http://gabrielecirulli.github.io/2048/");
173+
tweet.setAttribute("data-via", "oprilzeng");
174+
tweet.setAttribute("data-url", "http://oprilzeng.github.io/2048");
175+
tweet.setAttribute("data-counturl", "http://oprilzeng.github.io/2048/");
176176
tweet.textContent = "Tweet";
177177

178-
var text = "I scored " + this.score + " points at 2048, a game where you " +
179-
"join numbers to score high! #2048game";
178+
var text = "I scored " + this.score + " points at PRC2048, a game where you " +
179+
"join numbers to score high! #PRC2048";
180180
tweet.setAttribute("data-text", text);
181181

182182
return tweet;

0 commit comments

Comments
 (0)