test: Use https:// instead of protocol-relative urls
Protocol-relative urls don't work when using the file from the
file system directly in a browser (they require the file being
served from a http web server).
This is why the Grunt run has been broken since 426ccf0131, as
can be seen on https://travis-ci.org/wikimedia/jquery.uls/builds.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<title>jQuery ULS Test Suite</title>
|
||||
|
||||
<!-- External libs -->
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
||||
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
|
||||
|
||||
<!-- Source of our libs -->
|
||||
<script src="../src/jquery.uls.data.js"></script>
|
||||
@@ -16,8 +16,8 @@
|
||||
<script src="../src/jquery.uls.core.js"></script>
|
||||
|
||||
<!-- Test framework -->
|
||||
<link rel="stylesheet" href="//code.jquery.com/qunit/qunit-1.14.0.css">
|
||||
<script src="//code.jquery.com/qunit/qunit-1.14.0.js"></script>
|
||||
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-1.14.0.css">
|
||||
<script src="https://code.jquery.com/qunit/qunit-1.14.0.js"></script>
|
||||
|
||||
<!-- Test config -->
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user