class ChildItem
constructor : ->
@activate()
activate : ->
if parent.ready #this line will fail
console.log 'activate!'
class ParentItem
constructor : ->
@ready = true;
@child = new ChildItem()
item = new ParentItem()
我如何item.ready
访问item.child.activate
?必须有一个语法!