Skip to content

Commit

Permalink
Add since param to getOwner docs
Browse files Browse the repository at this point in the history
Per the discussion on emberjs#13734 I added the since parameter and reordered
to match other files. I searched the history to find the version number
when this was introduced:

    git log --stat -- packages/container/lib/owner.js
    git tag --contains 7d7450c

Fixes emberjs#13734
  • Loading branch information
sukima authored and webark committed Oct 6, 2016
1 parent 5c8eec9 commit 4679995
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/container/lib/owner.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ export const OWNER = symbol('OWNER');
```
@method getOwner
@for Ember
@param {Object} object An object with an owner.
@return {Object} An owner object.
@for Ember
@since 2.3.0
@public
*/
export function getOwner(object) {
Expand All @@ -55,9 +56,10 @@ export function getOwner(object) {
useful in some testing cases.
@method setOwner
@for Ember
@param {Object} object An object with an owner.
@return {Object} An owner object.
@for Ember
@since 2.3.0
@public
*/
export function setOwner(object, owner) {
Expand Down

0 comments on commit 4679995

Please sign in to comment.