Skip to content

Conversation

@devversion
Copy link
Member

  • Since the md- prefix is now removed completely, the _matRippleTrigger property is just trigger now.

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Oct 19, 2017

ngOnChanges(changes: SimpleChanges) {
if ((changes['trigger'] || changes['_matRippleTrigger']) && this.trigger) {
if (changes['trigger'] && this.trigger) {
Copy link
Member

Choose a reason for hiding this comment

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

You should be able to switch this to change.trigger as well.

Copy link
Member Author

@devversion devversion Oct 19, 2017

Choose a reason for hiding this comment

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

Done. As @jelbourn mentioned, the trigger needs to be a string to avoid closure renaming.

@andrewseguin andrewseguin added pr: lgtm action: merge The PR is ready for merge by the caretaker and removed pr: needs review labels Oct 24, 2017
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.

LGTM


ngOnChanges(changes: SimpleChanges) {
if ((changes['trigger'] || changes['_matRippleTrigger']) && this.trigger) {
if (changes.trigger && this.trigger) {
Copy link
Member

Choose a reason for hiding this comment

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

trigger needs to stay as a string or else Closure Compiler might rename it (which we don't want for input names)

Copy link
Member Author

Choose a reason for hiding this comment

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

Makes sense. Changed it back to be on the safe side.

* Since the `md-` prefix is now removed completely, the `_matRippleTrigger` property is just `trigger` now.
@devversion devversion force-pushed the chore/ripple-remove-prefix-check branch from 5e08768 to f9c820a Compare October 25, 2017 13:54
@josephperrott josephperrott merged commit d35436b into angular:master Nov 10, 2017
@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 7, 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.

6 participants