MCPcopy Index your code
hub / github.com/angular/angular / initDominoAdapter

Function initDominoAdapter

packages/platform-server/src/server.ts:59–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57];
58
59function initDominoAdapter() {
60 const injector = inject(Injector);
61 const _enableDomEmulation = enableDomEmulation(injector);
62 return () => {
63 if (_enableDomEmulation) {
64 DominoAdapter.makeCurrent();
65 } else {
66 BrowserDomAdapter.makeCurrent();
67 }
68 };
69}
70
71export const SERVER_RENDER_PROVIDERS: Provider[] = [
72 {provide: EVENT_MANAGER_PLUGINS, multi: true, useClass: ServerEventManagerPlugin},

Callers

nothing calls this directly

Calls 3

injectFunction · 0.90
enableDomEmulationFunction · 0.90
makeCurrentMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…