MCPcopy
hub / github.com/angular-ui/ui-router / wrappedProgressback

Function wrappedProgressback

test/angular/1.2/angular.js:11751–11757  ·  view source on GitHub ↗
(progress)

Source from the content-addressed store, hash-verified

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]);

Callers 1

whenFunction · 0.85

Calls 1

isFunctionFunction · 0.70

Tested by

no test coverage detected