Conversation
lib/router/transition.js
Outdated
There was a problem hiding this comment.
These declarations have to come after the description (otherwise YUIDoc will not parse the description at all).
So it should be:
/**
Description and examples here
<yuidoc statements here>
*/|
👍 |
|
Question here -- is the The reason I ask is because I'm trying to work around an issue where calling |
|
@bendemboski I would consider all undocumented methods and properties private. Your issue can be solved by using Route#replaceWith instead of Route#transitionTo |
|
@Gaurav0 yes, I definitely consider anything that is undocumented to be private. This pull request changed the status of an entire class from being undocumented to being documented (which is awesome -- thank you, by the way), and flagged a bunch of its properties and methods as either public or private. I'm pointing out that one of its properties, As far as my specific issue, simply switching to Route#replaceWith doesn't work -- see this issue. The suggested workaround is to use |
|
urlMethod does not have any documentation itself, so I would treat it as private. |
This is an attempt to fix issue emberjs/ember.js#12142