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

Angular 8 support #333

@mtinnes

Description

@mtinnes

Bug, feature request, or proposal:

Refactor any references to DOCUMENT in order to comply with Angular 8 changes

What is the expected behavior?

md2 should compile without error when targeting Angular 8

What is the current behavior?

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

What are the steps to reproduce?

Compile an app targeting Angular 8 using md2 components

What is the use-case or motivation for changing an existing behavior?

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions