Skip to content

Commit

Permalink
clarifying documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
adufilie committed Apr 9, 2016
1 parent 35a6801 commit 22db1ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions WeaveAPI/src/weave/api/core/ISessionManager.as
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ package weave.api.core

/**
* This function will create a new instance of the specified child class and register it as a child of the parent.
* Use this function when a child object can be disposed but you do not want to link the callbacks.
* The child will be disposed when the parent is disposed.
* Use this function when a child object can be disposed but you do not want to link the callbacks or either object is not an ILinkableObject.
*
* Example usage: public const foo:LinkableNumber = newDisposableChild(this, LinkableNumber);
*
Expand All @@ -84,8 +84,7 @@ package weave.api.core

/**
* This will register a child of a parent and cause the child to be disposed when the parent is disposed.
* Use this function when a child object can be disposed but you do not want to link the callbacks.
* The child will be disposed when the parent is disposed.
* Use this function when a child object can be disposed but you do not want to link the callbacks or either object is not an ILinkableObject.
*
* Example usage: public const foo:LinkableNumber = registerDisposableChild(this, someLinkableNumber);
*
Expand Down
5 changes: 2 additions & 3 deletions WeaveJS/src/weavejs/api/core/ISessionManager.as
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ package weavejs.api.core

/**
* This function will create a new instance of the specified child class and register it as a child of the parent.
* Use this function when a child object can be disposed but you do not want to link the callbacks.
* The child will be disposed when the parent is disposed.
* Use this function when a child object can be disposed but you do not want to link the callbacks or either object is not an ILinkableObject.
*
* Example usage: public const foo:LinkableNumber = newDisposableChild(this, LinkableNumber);
*
Expand All @@ -89,8 +89,7 @@ package weavejs.api.core

/**
* This will register a child of a parent and cause the child to be disposed when the parent is disposed.
* Use this function when a child object can be disposed but you do not want to link the callbacks.
* The child will be disposed when the parent is disposed.
* Use this function when a child object can be disposed but you do not want to link the callbacks or either object is not an ILinkableObject.
*
* Example usage: public const foo:LinkableNumber = registerDisposableChild(this, someLinkableNumber);
*
Expand Down

0 comments on commit 22db1ce

Please sign in to comment.