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

Function callback

test/angular/1.3/angular.js:21699–21701  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21697 return function ngEventHandler(scope, element) {
21698 element.on(eventName, function(event) {
21699 var callback = function() {
21700 fn(scope, {$event:event});
21701 };
21702 if (forceAsyncEvents[eventName] && $rootScope.$$phase) {
21703 scope.$evalAsync(callback);
21704 } else {

Callers 6

BrowserFunction · 0.70
completeRequestFunction · 0.70
qFactoryFunction · 0.70
handleCallbackFunction · 0.70
handleResponseFunction · 0.70
handleTimeoutFunction · 0.70

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected