Skip to content

Commit

Permalink
fix(common): change to relative paths for server check imports
Browse files Browse the repository at this point in the history
Fix imports to `DOCUMENT` DI token and `isPlatformServer` function to remove circular dependencies
  • Loading branch information
yharaskrik committed Sep 5, 2022
1 parent 38323dc commit e0dfadb
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -6,10 +6,11 @@
* found in the LICENSE file at https://angular.io/license
*/

import {DOCUMENT, isPlatformServer} from '@angular/common';
import {Directive, ElementRef, inject, Injector, Input, NgZone, OnChanges, OnDestroy, OnInit, PLATFORM_ID, Renderer2, SimpleChanges, ɵformatRuntimeError as formatRuntimeError, ɵRuntimeError as RuntimeError} from '@angular/core';

import {DOCUMENT} from '../../dom_tokens';
import {RuntimeErrorCode} from '../../errors';
import {isPlatformServer} from '../../platform_id';

import {imgDirectiveDetails} from './error_helper';
import {IMAGE_LOADER} from './image_loaders/image_loader';
Expand Down

0 comments on commit e0dfadb

Please sign in to comment.