(progress)
| 11749 | }; |
| 11750 | |
| 11751 | var wrappedProgressback = function(progress) { |
| 11752 | try { |
| 11753 | result.notify((isFunction(progressback) ? progressback : defaultCallback)(progress)); |
| 11754 | } catch(e) { |
| 11755 | exceptionHandler(e); |
| 11756 | } |
| 11757 | }; |
| 11758 | |
| 11759 | if (pending) { |
| 11760 | pending.push([wrappedCallback, wrappedErrback, wrappedProgressback]); |