How can I call a method of View#1 from view#2 in backbone?
view#1 = Backbone.View.extend({
plot_markers:function(){
/*some code */
}
});
view#1 = Backbone.View.extend({
initialize:function(){
view#1.plot_markers();
}
});
How do i set global methods in backbone. where many view can use the same method
Thanking you