Skip to content

Commit a528d2d

Browse files
committed
upd
1 parent f748d80 commit a528d2d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

js/functions_dev.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $(function () {
2424
// renderLoop
2525
setInterval(function () {
2626
garden.render();
27-
}, Garden.options.growSpeed);
27+
}, 0 / Garden.options.growSpeed);
2828
});
2929

3030
$(window).resize(function() {
@@ -43,7 +43,7 @@ function getHeartPoint(angle) {
4343
}
4444

4545
function startHeartAnimation() {
46-
var interval = 50;
46+
var interval = 0;
4747
var angle = 10;
4848
var heart = new Array();
4949
var animationTimer = setInterval(function () {
@@ -86,7 +86,7 @@ function startHeartAnimation() {
8686
if (progress >= str.length) {
8787
clearInterval(timer);
8888
}
89-
}, 75);
89+
}, 0.75);
9090
});
9191
return this;
9292
};
@@ -121,7 +121,7 @@ function timeElapse(date){
121121

122122
function showMessages() {
123123
adjustWordsPosition();
124-
$('#messages').fadeIn(5000, function() {
124+
$('#messages').fadeIn(0.5000, function() {
125125
showLoveU();
126126
});
127127
}
@@ -137,5 +137,5 @@ function adjustCodePosition() {
137137
}
138138

139139
function showLoveU() {
140-
$('#loveu').fadeIn(3000);
140+
$('#loveu').fadeIn(0.3000);
141141
}

0 commit comments

Comments
 (0)