managing document.ready event(s) on a large-scale website
This is what i have done in my rails mvc project with heavy javascript, i have created a separate namespace for the controllers in js which resembles the rails controller class BusinessController def new end def index end end and Var Business = { init : function(action) { //code common to the Business module //even … Read more