-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[DOCS] Add code example for EmberArray.addArrayObserver #18272
[DOCS] Add code example for EmberArray.addArrayObserver #18272
Conversation
@@ -446,6 +446,32 @@ const ArrayMixin = Mixin.create(Enumerable, { | |||
which you can use to override the method names that will be invoked on the | |||
target. | |||
|
|||
Example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
YUIDoc supports an @example
annotation with a description https://yui.github.io/yuidoc/syntax/index.html. Could you update for that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've moved the example to below an @example
tag, let me know if the position is ok.
b6de693
to
f4ba42a
Compare
I tried this PR locally & YUIDoc doesn't seem to recognize the |
@sivakumar-kailasam I ran I couldn't find the docs for the file you mentioned. Do you mind letting me know how you are testing it? The difference I see is that in that file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried it again & it works as expected now. I must've messed up something the last time I tried this. Thanks again for this PR 🙂
Part of #18228