|
Lines 38-47
var humanMsg = {
Link Here
|
| 38 |
|
38 |
|
| 39 |
if (options != undefined) { |
39 |
if (options != undefined) { |
| 40 |
delay = 'delay' in options ? parseInt(options.delay) * 1000 : 1000 |
40 |
delay = 'delay' in options ? parseInt(options.delay) * 1000 : 1000 |
| 41 |
life = 'life' in options ? parseInt(options.life) * 1000 : Infinity |
41 |
life = 'life' in options ? parseInt(options.life) * 1000 : 2000 |
| 42 |
} else { |
42 |
} else { |
| 43 |
delay = 1000 |
43 |
delay = 1000 |
| 44 |
life = Infinity |
44 |
life = 2000 |
| 45 |
} |
45 |
} |
| 46 |
|
46 |
|
| 47 |
clearTimeout(humanMsg.t2); |
47 |
clearTimeout(humanMsg.t2); |
| 48 |
- |
|
|