Skip to content
This repository was archived by the owner on May 4, 2022. It is now read-only.

Conversation

@bbamalwa
Copy link

@bbamalwa bbamalwa commented Jul 1, 2019

Short description of what this resolves:

DOCUMENT is removed from @angular/platform-browser If you use DOCUMENT from @angular/platform-browser, you should start to import this from @angular/common.

Changes proposed in this pull request:

Importing "Document" from @angular/common Instead of @angular/platform-browser

Fixes: #
IN "src\components\app\app.js"
Replace:
import { DOCUMENT, Title } from '@angular/platform-browser';
WITH:
import { DOCUMENT } from '@angular/common';
import { Title } from '@angular/platform-browser';

and IN "src\module.js"
Replace:
import { DOCUMENT, HAMMER_GESTURE_CONFIG } from '@angular/platform-browser';
With:
import { DOCUMENT } from '@angular/common';
import { HAMMER_GESTURE_CONFIG } from '@angular/platform-browser';

bbamalwa added 2 commits July 1, 2019 09:13
DOCUMENT is removed from @angular/platform-browser If you use DOCUMENT from @angular/platform-browser, you should start to import this from @angular/common.
DOCUMENT is removed from @angular/platform-browser If you use DOCUMENT from @angular/platform-browser, you should start to import this from @angular/common.
@jfriv
Copy link

jfriv commented Aug 10, 2019

Please approve this PR!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants