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

Annotate mdc-menu for closure #339

Closed
traviskaufman opened this issue Feb 22, 2017 · 4 comments
Closed

Annotate mdc-menu for closure #339

traviskaufman opened this issue Feb 22, 2017 · 4 comments
Assignees
Labels

Comments

@traviskaufman
Copy link
Contributor

No description provided.

@traviskaufman traviskaufman added this to the Closure Compiler Compatibility milestone Feb 22, 2017
@traviskaufman
Copy link
Contributor Author

traviskaufman commented Jun 12, 2017

cc @bogusred assigning @lynnjepsen to track

@bogusred
Copy link
Contributor

@traviskaufman @lynnjepsen According to the closure style guide, the compiler doesn't have great support for ES6 getters/setters. As part of this task, would you like me to change the getters/setters to regular methods?

bogusred added a commit to bogusred/material-components-web that referenced this issue Jun 16, 2017
…ponents#339)

Added new annotations to mdc-menu. Corrected a couple of annotations in base.
@lynnmercier
Copy link
Contributor

Hmm I'm not sure...It says "limited support", and we're not doing anything too crazy. Can we leave them as getters/setters for now? And if the compiler actually does start doing odd things we can revisit?

My reasoning is I don't really want to spend extra work on something that might not even be a problem. Especially if it takes us away from an ES6 best practice.

@bogusred
Copy link
Contributor

Sgtm 👍

bogusred added a commit to bogusred/material-components-web that referenced this issue Jun 21, 2017
…ts#339)

Added new annotations to mdc-menu. Corrected a couple of annotations in base.
bogusred added a commit to bogusred/material-components-web that referenced this issue Jun 21, 2017
…ts#339)

Added new annotations to mdc-menu. Corrected a couple of annotations in base.
lynnmercier pushed a commit that referenced this issue Jun 27, 2017
Resolves #339 Added new annotations to mdc-menu. Corrected a couple of annotations in base.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants