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

Function trigger

lib/test/angular/1.8.0/angular.js:3584–3588  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3582
3583function jqLiteReady(fn) {
3584 function trigger() {
3585 window.document.removeEventListener('DOMContentLoaded', trigger);
3586 window.removeEventListener('load', trigger);
3587 fn();
3588 }
3589
3590 // check if document is already loaded
3591 if (window.document.readyState === 'complete') {

Callers

nothing calls this directly

Calls 1

fnFunction · 0.70

Tested by

no test coverage detected