From 9d3aa748d04561e32a6fd18a394d9970a3d334be Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Fri, 19 Aug 2011 16:31:34 +0200 Subject: [PATCH] deprecated delay.js --- lib/scripts/delay.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/scripts/delay.js b/lib/scripts/delay.js index 2ef9f8846..edd53def3 100644 --- a/lib/scripts/delay.js +++ b/lib/scripts/delay.js @@ -51,6 +51,7 @@ Delay.prototype = { }, start: function () { + DEPRECATED('don\'t use the Delay object, use window.timeout with a callback instead'); this.delTimer(); var _this = this; this.timer = timer.add(function () { _this.exec.call(_this); }, -- GitLab