Skip to content

Commit

Permalink
Updated CDN references for external assets.
Browse files Browse the repository at this point in the history
* Prefer jQuery CDN over Google
* Prefer https over http
  • Loading branch information
stevenbenner committed May 1, 2016
1 parent c9fdffc commit f43f48a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion doc/README.md
Expand Up @@ -107,7 +107,7 @@ Example paths configuration:
```javascript
require.config({
paths: {
jquery: 'http://code.jquery.com/jquery-1.11.3',
jquery: 'https://code.jquery.com/jquery-1.11.3',
'jquery.powertip': '../dist/jquery.powertip'
}
});
Expand Down
2 changes: 1 addition & 1 deletion examples/examples.html
Expand Up @@ -12,7 +12,7 @@
#events-examples input, #api-examples input { margin: 10px; padding: 10px 30px; }
</style>
<!-- Include jQuery and PowerTip -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.12.3/jquery.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.3.js"></script>
<!-- begin-scripts -->
<script type="text/javascript" src="../src/core.js"></script>
<script type="text/javascript" src="../src/csscoordinates.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions test/amd.html
Expand Up @@ -3,9 +3,9 @@
<head>
<meta charset="utf-8" />
<title>PowerTip AMD Test Suite</title>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.20/require.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.20/require.js"></script>
<script type="text/javascript" src="amd.js"></script>
<link rel="stylesheet" type="text/css" href="http://code.jquery.com/qunit/qunit-1.23.1.css" />
<link rel="stylesheet" type="text/css" href="https://code.jquery.com/qunit/qunit-1.23.1.css" />
</head>
<body>
<div id="qunit"></div>
Expand Down
4 changes: 2 additions & 2 deletions test/amd.js
@@ -1,7 +1,7 @@
require.config({
paths: {
jquery: 'http://code.jquery.com/jquery-1.12.3',
qunit: 'http://code.jquery.com/qunit/qunit-1.23.1',
jquery: 'https://code.jquery.com/jquery-1.12.3',
qunit: 'https://code.jquery.com/qunit/qunit-1.23.1',
'jquery.powertip': '../dist/jquery.powertip'
}
});
Expand Down
2 changes: 1 addition & 1 deletion test/edge-cases.html
Expand Up @@ -5,7 +5,7 @@
<title>PowerTip Edge Case Tests</title>

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

<!-- PowerTip Core Resources -->
<script type="text/javascript" src="../src/core.js"></script>
Expand Down
6 changes: 3 additions & 3 deletions test/index.html
Expand Up @@ -5,9 +5,9 @@
<title>PowerTip Test Suite</title>

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

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

0 comments on commit f43f48a

Please sign in to comment.