File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ $(function () {
24
24
// renderLoop
25
25
setInterval ( function ( ) {
26
26
garden . render ( ) ;
27
- } , Garden . options . growSpeed ) ;
27
+ } , 0 / Garden . options . growSpeed ) ;
28
28
} ) ;
29
29
30
30
$ ( window ) . resize ( function ( ) {
@@ -43,7 +43,7 @@ function getHeartPoint(angle) {
43
43
}
44
44
45
45
function startHeartAnimation ( ) {
46
- var interval = 50 ;
46
+ var interval = 0 ;
47
47
var angle = 10 ;
48
48
var heart = new Array ( ) ;
49
49
var animationTimer = setInterval ( function ( ) {
@@ -86,7 +86,7 @@ function startHeartAnimation() {
86
86
if ( progress >= str . length ) {
87
87
clearInterval ( timer ) ;
88
88
}
89
- } , 75 ) ;
89
+ } , 0. 75) ;
90
90
} ) ;
91
91
return this ;
92
92
} ;
@@ -121,7 +121,7 @@ function timeElapse(date){
121
121
122
122
function showMessages ( ) {
123
123
adjustWordsPosition ( ) ;
124
- $ ( '#messages' ) . fadeIn ( 5000 , function ( ) {
124
+ $ ( '#messages' ) . fadeIn ( 0. 5000, function ( ) {
125
125
showLoveU ( ) ;
126
126
} ) ;
127
127
}
@@ -137,5 +137,5 @@ function adjustCodePosition() {
137
137
}
138
138
139
139
function showLoveU ( ) {
140
- $ ( '#loveu' ) . fadeIn ( 3000 ) ;
140
+ $ ( '#loveu' ) . fadeIn ( 0. 3000) ;
141
141
}
You can’t perform that action at this time.
0 commit comments