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

Function callback

test/angular/1.4/angular.js:24102–24104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24100 return function ngEventHandler(scope, element) {
24101 element.on(eventName, function(event) {
24102 var callback = function() {
24103 fn(scope, {$event:event});
24104 };
24105 if (forceAsyncEvents[eventName] && $rootScope.$$phase) {
24106 scope.$evalAsync(callback);
24107 } else {

Callers 11

nextFunction · 0.70
onProgressFunction · 0.70
BrowserFunction · 0.70
completeRequestFunction · 0.70
qFactoryFunction · 0.70
handleCallbackFunction · 0.70
handleResponseFunction · 0.70
handleTimeoutFunction · 0.70
packageAnimationsFunction · 0.70
notifyProgressFunction · 0.70

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected