In order to manage its life-cycle within Javascript, some ref-cnt scheme should be involved. AFAIK, extending some object from Node and attaching it into scene-graph, life-cycle management comes for free. 

2013. 9. 6., 오후 3:39, James Chen <notifications@github.com> 작성:

> In extensions/AssetsManager/AssetsManager.h:
> 
> > @@ -41,7 +41,7 @@
> >   *  The updated package should be a zip file. And there should be a file named
> >   *  version in the server, which contains version code.
> >   */
> > -class AssetsManager
> > +class AssetsManager : public Node
> Why does AssetsMangager inherit from Node?
> 
> —
> Reply to this email directly or view it on GitHub.
>