AnsweredAssumed Answered

map vs app.map

Question asked by pthibault on Aug 20, 2012
Latest reply on Aug 20, 2012 by DSwingley-esristaff
In the new print widget the examples show the map being defined as:
var app = {};
app.map = null,
app.map = new esri.Map("map", {
          extent: initialExtent,
          wrapAround180: true
        });

this is compared to just :
map = new esri.Map.........

Can some please explain what is happening with the variable "app"?

Thanks.

Outcomes