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

Function callback

test/angular/1.2/angular.js:19301–19303  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19299 return function ngEventHandler(scope, element) {
19300 element.on(eventName, function(event) {
19301 var callback = function() {
19302 fn(scope, {$event:event});
19303 };
19304 if (forceAsyncEvents[eventName] && $rootScope.$$phase) {
19305 scope.$evalAsync(callback);
19306 } else {

Callers 6

BrowserFunction · 0.70
completeRequestFunction · 0.70
jsonpReqFunction · 0.70
refFunction · 0.70
handleResponseFunction · 0.70
handleTimeoutFunction · 0.70

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected