javascript - requirejs 首先加载jquery问题
阿神
阿神 2017-04-10 15:27:52
0
1
495

有一个项目需要引用很多js
jquery-1.6.2.js
jquery.lazyload.js
jquery.SuperSlide.2.1.1.js
jquery.shop.common.js

我想先让页面加载Dom 然后加载jquery1.6.2 然后加载jquery.lazyload.js、jquery.SuperSlide.2.1.1.js、jquery.shop.common.js

这个main.js应该怎么写?求指点

阿神
阿神

闭关修行中......

répondre à tous(1)
Ty80

可参考,http://www.requirejs.cn/

shim

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!