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
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.