Skip to content

refactor(animations): instantiate Set-matching code with values in constructor - #20725

Closed
matsko wants to merge 1 commit into
angular:masterfrom
matsko:fix_boolean_values
Closed

matsko wants to merge 1 commit into
angular:masterfrom
matsko:fix_boolean_values

Conversation

@matsko

@matsko matsko commented Dec 1, 2017

Copy link
Copy Markdown
Contributor

For some reason, prior to this fix, the boolean set matching
code (within animation_transition_expr.ts) failed to remain
the same when compiled with closure. This refactor makes sure
that the code stays in tact.

Reproduction Details:
Passes without ng build --prod: https://burger.stackblitz.io/
Fails with ng build --prod: http://burger.fxck.cz/

Closes #20374

…nstructor

For some reason, prior to this fix, the boolean set matching
code (within `animation_transition_expr.ts`) failed to remain
the same when compiled with closure. This refactor makes sure
that the code stays in tact.

Reproduction Details:
Passes without `ng build --prod`: https://burger.stackblitz.io/
Fails with `ng build --prod`: http://burger.fxck.cz/

Closes angular#20374
@mary-poppins

Copy link
Copy Markdown

@mhevery mhevery added the action: merge The PR is ready for merge by the caretaker label Dec 2, 2017
@IgorMinar IgorMinar added the area: animations legacy animations package only. Otherwise use area: core. label Dec 4, 2017
jasonaden pushed a commit that referenced this pull request Dec 8, 2017
…nstructor (#20725)

For some reason, prior to this fix, the boolean set matching
code (within `animation_transition_expr.ts`) failed to remain
the same when compiled with closure. This refactor makes sure
that the code stays in tact.

Reproduction Details:
Passes without `ng build --prod`: https://burger.stackblitz.io/
Fails with `ng build --prod`: http://burger.fxck.cz/

Closes #20374

PR Close #20725
@jasonaden jasonaden closed this in 661fdcd Dec 8, 2017
@matsko
matsko deleted the fix_boolean_values branch January 17, 2019 19:44
@angular-automatic-lock-bot

Copy link
Copy Markdown

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 14, 2019
adhambaouz pushed a commit to adhambaouz/angular that referenced this pull request Nov 20, 2026
…nstructor (angular#20725)

For some reason, prior to this fix, the boolean set matching
code (within `animation_transition_expr.ts`) failed to remain
the same when compiled with closure. This refactor makes sure
that the code stays in tact.

Reproduction Details:
Passes without `ng build --prod`: https://burger.stackblitz.io/
Fails with `ng build --prod`: http://burger.fxck.cz/

Closes angular#20374

PR Close angular#20725
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: animations legacy animations package only. Otherwise use area: core. cla: yes target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

animation skips straight to final state on production build (when using booleans for state)

5 participants