Double slash at beginning of javascript include

后端 未结 2 1918
不知归路
不知归路 2021-01-18 15:06

I have been looking at the html5 boilerplate and noticed that the jquery include url starts with a double slash. The url is //ajax.googleapis.com/ajax/libs/jquery/1.5.1/jqu

2条回答
  •  梦谈多话
    2021-01-18 15:54

    So that if the .html is accessed via HTTPS; the page will not have any unsecured script.

提交回复
热议问题