Added missing semicolon in Function#delay.

This commit is contained in:
tjcrowder 2009-09-10 13:15:46 +01:00
parent 9300bd0350
commit 037a47d68a

View File

@ -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);