()
| 17090 | } |
| 17091 | |
| 17092 | function Deferred() { |
| 17093 | var promise = this.promise = new Promise(); |
| 17094 | //Non prototype methods necessary to support unbound execution :/ |
| 17095 | this.resolve = function(val) { resolvePromise(promise, val); }; |
| 17096 | this.reject = function(reason) { rejectPromise(promise, reason); }; |
| 17097 | this.notify = function(progress) { notifyPromise(promise, progress); }; |
| 17098 | } |
| 17099 | |
| 17100 | |
| 17101 | function Promise() { |
nothing calls this directly
no test coverage detected