Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(animations): treat numeric state name values as strings #22923

Closed
wants to merge 1 commit into from

Commits on Mar 22, 2018

  1. fix(animations): treat numeric state name values as strings

    This patch ensures that if a numeric state name value in an animation
    is detected then it will not throw an error. Normally this wouldn't
    occur, but some JS optimizers may convert a quoted numeric value
    (like "1" to 1) in some cases to save space. This patch makes sure
    that Angular doesn't throw an error when this occurs.
    matsko committed Mar 22, 2018
    Configuration menu
    Copy the full SHA
    9e6339c View commit details
    Browse the repository at this point in the history