Added missing semicolon in Function#delay.

This commit is contained in:
tjcrowder 2009-09-10 13:15:46 +01:00
parent 9300bd0350
commit 037a47d68a
1 changed files with 1 additions and 1 deletions

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