2011-12-15 97 views
0

activeView = new WhateverView({example:example})破坏骨干视图是否会破坏它?

这种模式是活跃的,做的东西瓦特/电子

然后我做...

activeView = new WhateverView({example:otherExample})

这是否配备充分破坏模型的旧实例或者我需要解除绑定/删除以防止僵尸实例?

+1

为什么实例化类会对该类的先前实例产生影响? – 2011-12-15 17:11:45

+0

> * gfy *哇,真的吗? – 2011-12-15 19:26:57

回答