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

Function trigger

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

Source from the content-addressed store, hash-verified

3090 var fired = false;
3091
3092 function trigger() {
3093 if (fired) return;
3094 fired = true;
3095 fn();
3096 }
3097
3098 // check if document is already loaded
3099 if (document.readyState === 'complete') {

Callers

nothing calls this directly

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected