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 que hayan iniciado sesión pueden publicar, seguir las novedades y mucho más. ¿Eres nuevo? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.