Same standard for Javascript

Idea created by dmortenson on Nov 8, 2013
    • dmortenson
    • eatkinson
    • kreuzrsk
    • sacdou
    It would be great if the JavaScript samples could be cleaned up to be consistent across samples. They should all follow the AMD standard. 

    We could also use a sample where the map is in a separate script, rather than the header of the html - maybe one for adding a base map, and another for how you would create a tool - such as identify - in another .js file. Showing how to put these together would be very helpful