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

fix(FlexLayoutModule): remove console.warn() calls that conflict with ngc+aot #179

Merged
merged 1 commit into from
Feb 10, 2017

Conversation

ThomasBurleson
Copy link
Contributor

  • 'forRoot()' fn is never evaluated in AoT, ngc only analyzes the content of the fn to get the module and ngc does not know what to do with the first statetement (console.warn)
  • clarify changes to FlexLayoutModule.forRoot()

Refs http://github.com/angular/angular#14410
Fixes #174, Fixes #175, Fixes #176, Fixes #178.

@ThomasBurleson ThomasBurleson added pr: lgtm This PR has been approved by the reviewer pr: needs presubmit labels Feb 10, 2017
@ThomasBurleson ThomasBurleson force-pushed the fix/ngc-aot-forRoot branch 2 times, most recently from 8a67465 to aed9238 Compare February 10, 2017 22:38
*  ‘forRoot()' fn is never evaluated in AoT, ngc only analyzes the content of the fn to get the module and ngc does not know what to do with the first statetement (console.warn)
*  clarify changes to FlexLayoutModule.forRoot()
*  updates dependency to minimum of Angular v2.3.1.

Refs http://github.com/angular/angular#14410
Fixes #174, Fixes #175, Fixes #176, Fixes #178.
@tinayuangao tinayuangao merged commit 0797c85 into master Feb 10, 2017
@ThomasBurleson ThomasBurleson deleted the fix/ngc-aot-forRoot branch March 4, 2017 23:21
karlhaas pushed a commit to karlhaas/flex-layout that referenced this pull request May 3, 2017
…ngular#179)

*  ‘forRoot()' fn is never evaluated in AoT, ngc only analyzes the content of the fn to get the module and ngc does not know what to do with the first statetement (console.warn)
*  clarify changes to FlexLayoutModule.forRoot()
*  updates dependency to minimum of Angular v2.3.1.

Refs http://github.com/angular/angular#14410
Fixes angular#174, Fixes angular#175, Fixes angular#176, Fixes angular#178.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes pr: lgtm This PR has been approved by the reviewer pr: needs presubmit
Projects
None yet
3 participants