在我当前的应用程序中,我的save
一个主干视图中有一个功能。
custom_save : function() {
// this method's save code
// have to call another views save function here
}
另一个视图名称是App.SettingsView
,它有一个save
方法。我必须在逻辑save
之后立即调用此方法。custom_save
如何App.SettingsView save
在函数内部调用custom_save
函数。请不要两者都是2个不同的文件
谢谢