(progress)
| 11696 | }; |
| 11697 | |
| 11698 | var wrappedProgressback = function(progress) { |
| 11699 | try { |
| 11700 | result.notify((isFunction(progressback) ? progressback : defaultCallback)(progress)); |
| 11701 | } catch(e) { |
| 11702 | exceptionHandler(e); |
| 11703 | } |
| 11704 | }; |
| 11705 | |
| 11706 | if (pending) { |
| 11707 | pending.push([wrappedCallback, wrappedErrback, wrappedProgressback]); |