8000 fix(ngAnimate): don't normalize classes on follow-up animations to jo… by matsko · Pull Request #13472 · angular/angular.js · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix(ngAnimate): don't normalize classes on follow-up animations to jo… #13472

Closed
wants to merge 1 commit into from

Conversation

matsko
Copy link
Contributor
@matsko matsko commented Dec 9, 2015

…ined animations

This allows follow-up animations to remove a class that is currently
being added.

Fixes #13339
Fixes #13380
Closes #13414

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

…ined animations

This allows follow-up animations to remove a class that is currently
being added.

Fixes angular#13339
Fixes angular#13380
Closes angular#13414
@matsko
Copy link
Contributor Author
matsko commented Dec 9, 2015

@petebacondarwin please review.

@Narretz
Copy link
Contributor
Narretz commented Dec 9, 2015

We need to update the commit message, it's doing something differen now.

8000

var cancelSomething = false;

cA = cA ? makeTruthyMapFromKeys(cA.split(ONE_SPACE)) : null;
cR = cR ? makeTruthyMapFromKeys(cR.split(ONE_SPACE)) : null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This repeated logic here could be moved into the makeTrutyMapFromKeys and perhaps be renamed to makeCssClassMap

Narretz added a commit to Narretz/angular.js that referenced this pull request Jan 5, 2016
…imation

This allows follow-up animations to remove a class that is currently
being added.

Fixes angular#13339
Fixes angular#13380
Closes angular#13414
Closes angular#13472
Closes angular#13678
Narretz added a commit to Narretz/angular.js that referenced this pull request Jan 5, 2016