Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Update common-module.ts #335

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ravishah94
Copy link

@ravishah94 ravishah94 commented Jul 10, 2019

Bug, feature request, or proposal:
Refactor any references to DOCUMENT in order to comply with Angular 8 changes

ERROR in ./node_modules/md2/core/common-behaviors/common-module.js 64:46-54
"export 'DOCUMENT' was not found in '@angular/platform-browser'

Compatibility with Angular 8

Which versions of Angular, MD2, OS, browsers are affected?
Angular 8, MD2 0.33

Is there anything else we should know?
DOCUMENT is removed from @angular/platform-browser If you use DOCUMENT from @angular/platform-browser, you should start to import this from @angular/common.


This change is Reviewable

Updating to the Angular 8
@ravishah94 ravishah94 closed this Jul 10, 2019
@ravishah94 ravishah94 reopened this Jul 10, 2019
@ravishah94 ravishah94 mentioned this pull request Jul 10, 2019
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.

None yet

3 participants