()
| 174 | } |
| 175 | |
| 176 | var Delayed = function() { |
| 177 | this.id = null; |
| 178 | this.f = null; |
| 179 | this.time = 0; |
| 180 | this.handler = bind(this.onTimeout, this); |
| 181 | }; |
| 182 | Delayed.prototype.onTimeout = function (self) { |
| 183 | self.id = 0; |
| 184 | if (self.time <= +new Date) { |