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

(issue 16790) Added @static tag so that we can see defineProperty in API doc #16791

Merged
merged 1 commit into from
Jul 9, 2018
Merged

(issue 16790) Added @static tag so that we can see defineProperty in API doc #16791

merged 1 commit into from
Jul 9, 2018

Conversation

ijlee2
Copy link
Member

@ijlee2 ijlee2 commented Jul 4, 2018

With help from @jenweber, I added a @static tag to the YUIDoc for defineProperty, so that it may correctly appear in the Ember documentation.

Please note that defineProperty is marked as a private method, but the deprecation at https://www.emberjs.com/deprecations/v3.x#toc_ember-meta-descriptor-on-object suggests that it can be used as a public method.

@jenweber
Copy link
Contributor

jenweber commented Jul 4, 2018

Question for the reviewer - should we open another PR to make this method Public? Here's the deprecation solution that recommends its use.

I confirmed when run locally that this change makes the docs show on the api website up as long as "show private/deprecated" is checked:
screen shot 2018-07-03 at 9 21 31 pm

screen shot 2018-07-03 at 9 20 41 pm

@rwjblue
Copy link
Member

rwjblue commented Jul 9, 2018

Question for the reviewer - should we open another PR to make this method Public? Here's the deprecation solution that recommends its use.

Yes. 😸

@rwjblue rwjblue merged commit 56bc322 into emberjs:master Jul 9, 2018
@rwjblue
Copy link
Member

rwjblue commented Jul 9, 2018

Thank you both!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants