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
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.