Skip to content

Commit c71cf51

Browse files
committed
Update README.md
Time must be given in miliseconds
1 parent 0971649 commit c71cf51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Delete timer:
3939

4040
Create timer with 1 second interval and working 1 minute
4141

42-
$.timer('other_timer', function() { /* my Callback Code */ }, 1, {timeout: 60});
42+
$.timer('other_timer', function() { /* my Callback Code */ }, 1000, {timeout: 60000});
4343

4444
Function definition:
4545

0 commit comments

Comments
 (0)