Skip to content

Commit f43f48a

Browse files
committed
Updated CDN references for external assets.
* Prefer jQuery CDN over Google * Prefer https over http
1 parent c9fdffc commit f43f48a

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

doc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Example paths configuration:
107107
```javascript
108108
require.config({
109109
paths: {
110-
jquery: 'http://code.jquery.com/jquery-1.11.3',
110+
jquery: 'https://code.jquery.com/jquery-1.11.3',
111111
'jquery.powertip': '../dist/jquery.powertip'
112112
}
113113
});

examples/examples.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#events-examples input, #api-examples input { margin: 10px; padding: 10px 30px; }
1313
</style>
1414
<!-- Include jQuery and PowerTip -->
15-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.12.3/jquery.js"></script>
15+
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.3.js"></script>
1616
<!-- begin-scripts -->
1717
<script type="text/javascript" src="../src/core.js"></script>
1818
<script type="text/javascript" src="../src/csscoordinates.js"></script>

test/amd.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>PowerTip AMD Test Suite</title>
6-
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.20/require.js"></script>
6+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.20/require.js"></script>
77
<script type="text/javascript" src="amd.js"></script>
8-
<link rel="stylesheet" type="text/css" href="http://code.jquery.com/qunit/qunit-1.23.1.css" />
8+
<link rel="stylesheet" type="text/css" href="https://code.jquery.com/qunit/qunit-1.23.1.css" />
99
</head>
1010
<body>
1111
<div id="qunit"></div>

test/amd.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require.config({
22
paths: {
3-
jquery: 'http://code.jquery.com/jquery-1.12.3',
4-
qunit: 'http://code.jquery.com/qunit/qunit-1.23.1',
3+
jquery: 'https://code.jquery.com/jquery-1.12.3',
4+
qunit: 'https://code.jquery.com/qunit/qunit-1.23.1',
55
'jquery.powertip': '../dist/jquery.powertip'
66
}
77
});

test/edge-cases.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>PowerTip Edge Case Tests</title>
66

77
<!-- Library Resources -->
8-
<script type="text/javascript" src="http://code.jquery.com/jquery-1.12.3.js"></script>
8+
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.3.js"></script>
99

1010
<!-- PowerTip Core Resources -->
1111
<script type="text/javascript" src="../src/core.js"></script>

test/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<title>PowerTip Test Suite</title>
66

77
<!-- Library Resources -->
8-
<script type="text/javascript" src="http://code.jquery.com/jquery-1.12.3.js"></script>
9-
<script type="text/javascript" src="http://code.jquery.com/qunit/qunit-1.23.1.js"></script>
10-
<link rel="stylesheet" type="text/css" href="http://code.jquery.com/qunit/qunit-1.23.1.css" />
8+
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.3.js"></script>
9+
<script type="text/javascript" src="https://code.jquery.com/qunit/qunit-1.23.1.js"></script>
10+
<link rel="stylesheet" type="text/css" href="https://code.jquery.com/qunit/qunit-1.23.1.css" />
1111

1212
<!-- PowerTip Core Resources -->
1313
<script type="text/javascript" src="../src/core.js"></script>

0 commit comments

Comments
 (0)