deprecated delay.js
This commit is contained in:
parent
2b580f7af6
commit
9d3aa748d0
|
@ -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); },
|
||||
|
|
Loading…
Reference in New Issue