I have noticed that some examples of buffering in javascript api do not use and app.tb, app.gsvc, or app.map. The Buffer a Point sample is an example. However, the new dojo style samples, like util_buffergraphic do use a structure like
app = {
map: map,
tb: tb,
gsvc: gsvc
};
I assume this is required by the newer dojo style. Is this correct? Is there somewhere I can read up about why this is necessary in the new style dojo but not in the old style dojo?
Thanks,