For future reference, difference is that the "onLoad" or on('onload') are not needed. Neither is the startup().
Current location of the sample is here:
Display Bing maps in basemap gallery | ArcGIS API for JavaScript
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.