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

fix(ng:class): ng:class{,-odd,-even} shouldn't reset element classes #462

Closed
wants to merge 1 commit into from
Closed

Conversation

Codier
Copy link
Contributor

@Codier Codier commented Jul 8, 2011

  • ng:class resets element classes and any classes added after compilation
    get lost during $eval()
  • add test to show this problem and fix the bug

Closes #355

@Codier
Copy link
Contributor Author

Codier commented Jul 12, 2011

Hi I changed the pull thanks to proposal from Vojta. Please review

- make sure ng:class preserve classes added after compilation

Closes #355
@IgorMinar
Copy link
Contributor

[angular.js] IgorMinar pushed 1 new commit to master: http://bit.ly/qD4509

@IgorMinar IgorMinar closed this Jul 13, 2011
@IgorMinar
Copy link
Contributor

After a long discussion we reverted this commit and decided to mark this issue as wontfix. Please see the commit message for more details.

3ea2416

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.

ng:class{,-odd,-even} shouldn't reset element classes
2 participants