Module pattern:
APP.MODULE.MYMODULE = (function(OTHERMODULE) {
//ajax call with new module initialization
}(APP.MODULE.OTHERMODULE));
Let's assume that there is a lot of ajax module initializations. How do you syncronize javascript modules? Please share your experience, mostly I am interested in pure javascript implementation of sandbox pattern.
Aucun commentaire:
Enregistrer un commentaire