Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lyUpdate and rename index.html to ly.html #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions index.html → ly.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
<div id="content">
<div id="code">
<span class="comments">/**</span><br />
<span class="space"/><span class="comments">* We are both Fudan SSers and programmers,</span><br />
<span class="space"/><span class="comments">* so I write some code to celebrate our 1st anniversary.</span><br />
<span class="space"/><span class="comments">* 有幸相识</span><br />
<span class="space"/><span class="comments">* so I write some code to celebrate our 2nd anniversary.</span><br />
<span class="space"/><span class="comments">*/</span><br />
Boy i = <span class="keyword">new</span> Boy(<span class="string">"hackerzhou"</span>);<br />
Girl u = <span class="keyword">new</span> Girl(<span class="string">"MaryNee"</span>);<br />
<span class="comments">// Nov 2, 2010, I told you I love you. </span><br />
Boy i = <span class="keyword">new</span> Boy(<span class="string">"逯遥大帅逼"</span>);<br />
Girl u = <span class="keyword">new</span> Girl(<span class="string">"杨猪猪"</span>);<br />
<span class="comments">// Apr 25, 2019, I told you I love you. </span><br />
i.love(u);<br />
<span class="comments">// Luckily, you accepted and became my girlfriend eversince.</span><br />
u.accepted();<br />
Expand All @@ -50,7 +50,7 @@
<canvas id="garden"></canvas>
<div id="words">
<div id="messages">
Minyue, I have fallen in love with you for
猪猪, I have fallen in love with you for
<div id="elapseClock"></div>
</div>
<div id="loveu">
Expand All @@ -69,7 +69,7 @@
var offsetX = $("#loveHeart").width() / 2;
var offsetY = $("#loveHeart").height() / 2 - 55;
var together = new Date();
together.setFullYear(2010, 10, 2);
together.setFullYear(2019, 03, 25);
together.setHours(20);
together.setMinutes(0);
together.setSeconds(0);
Expand Down