Added missing semicolon in Function#delay.
This commit is contained in:
parent
9300bd0350
commit
037a47d68a
@ -236,7 +236,7 @@ Object.extend(Function.prototype, (function() {
|
||||
**/
|
||||
function delay(timeout) {
|
||||
var __method = this, args = slice.call(arguments, 1);
|
||||
timeout = timeout * 1000
|
||||
timeout = timeout * 1000;
|
||||
return window.setTimeout(function() {
|
||||
return __method.apply(__method, args);
|
||||
}, timeout);
|
||||
|
Loading…
Reference in New Issue
Block a user