What's the reason to include scripts with two different calls?

后端 未结 6 1974
小蘑菇
小蘑菇 2021-01-05 05:15

I use HTML5 boilerplate and jQuery is declared twice in the HTML page like this:



        
6条回答
  •  耶瑟儿~
    2021-01-05 05:30

    Yes, it's checking if jQuery is loaded or not, if not then loading it from own server.

    // only is used to make it compatible with both HTTP and HTTPS.

提交回复
热议问题