deprecated delay.js

This commit is contained in:
Andreas Gohr 2011-08-19 16:31:34 +02:00
parent 2b580f7af6
commit 9d3aa748d0
1 changed files with 1 additions and 0 deletions

View File

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