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(tooltip): throw a better error when an invalid position is passed #1986

Merged
merged 1 commit into from
Dec 7, 2016

Commits on Dec 6, 2016

  1. fix(tooltip): throw a better error when an invalid position is passed

    * Throws a more informative error message when an invalid position is passed to the tooltip. Previously it would throw something along the lines of `Cannot read property 'originX' of undefined`.
    * Moves the various tooltip switch statements to use an enum for easier validation.
    
    Referencing angular#1959.
    crisbeto committed Dec 6, 2016
    Configuration menu
    Copy the full SHA
    e4626de View commit details
    Browse the repository at this point in the history