Coffeescript, Backbone and load order
问题 Consider this Coffeescript class, in an app where each class lives in its own file. class Manager extends Person title: titles["manager"] If that file is loaded before the "titles" object, an error generated. I'm assuming this is because of Coffeescripts safety wrapper which is performing ".call(this)" when this file is first loaded? Otherwise, if I were to delay running any code until after the entire page had fully loaded ($(document.ready()), I could be sure that all the javascript files