Skip to content

Conversation

crisbeto
Copy link
Member

  • 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 #1959.

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Nov 25, 2016
* 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 crisbeto force-pushed the tooltip-improved-exception branch from fa4b890 to e4626de Compare December 6, 2016 20:03
@crisbeto
Copy link
Member Author

crisbeto commented Dec 6, 2016

@andrewseguin can you please review this one?

Copy link
Contributor

@andrewseguin andrewseguin left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks for adding the error!

@andrewseguin andrewseguin added pr: lgtm action: merge The PR is ready for merge by the caretaker and removed pr: needs review labels Dec 6, 2016
@mmalerba mmalerba merged commit 539e44e into angular:master Dec 7, 2016
@angular-automatic-lock-bot
Copy link

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 6, 2019
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 cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants