aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorBardi Harborow <[email protected]>2016-10-04 02:55:59 +1000
committerMark Otto <[email protected]>2016-10-03 09:55:59 -0700
commit2e69dfa8c1679238579ef6f5ec85deb755e4fb6d (patch)
tree57ac7cd1aeef5d78895f7a631155ce746fc0c43b /js
parentdb533c2e8d950647ff5e884083bf2d72063ed4b0 (diff)
downloadbootstrap-2e69dfa8c1679238579ef6f5ec85deb755e4fb6d.tar.xz
bootstrap-2e69dfa8c1679238579ef6f5ec85deb755e4fb6d.zip
Fix broken/redirected links, moving to HTTPS where possible. (#20557)
Diffstat (limited to 'js')
-rw-r--r--js/src/tooltip.js4
-rw-r--r--js/tests/README.md6
-rw-r--r--js/tests/visual/carousel.html6
3 files changed, 8 insertions, 8 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index 08daae2f2..d012b2907 100644
--- a/js/src/tooltip.js
+++ b/js/src/tooltip.js
@@ -14,10 +14,10 @@ const Tooltip = (($) => {
/**
* Check for Tether dependency
- * Tether - http://github.hubspot.com/tether/
+ * Tether - http://tether.io/
*/
if (window.Tether === undefined) {
- throw new Error('Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)')
+ throw new Error('Bootstrap tooltips require Tether (http://tether.io/)')
}
diff --git a/js/tests/README.md b/js/tests/README.md
index 6cdb41059..b2d505723 100644
--- a/js/tests/README.md
+++ b/js/tests/README.md
@@ -1,6 +1,6 @@
## How does Bootstrap's test suite work?
-Bootstrap uses [QUnit](http://api.qunitjs.com/), a powerful, easy-to-use JavaScript unit test framework. Each plugin has a file dedicated to its tests in `unit/<plugin-name>.js`.
+Bootstrap uses [QUnit](https://qunitjs.com/), a powerful, easy-to-use JavaScript unit test framework. Each plugin has a file dedicated to its tests in `unit/<plugin-name>.js`.
* `unit/` contains the unit test files for each Bootstrap plugin.
* `vendor/` contains third-party testing-related code (QUnit and jQuery).
@@ -14,7 +14,7 @@ To run the unit test suite via a real web browser, open `index.html` in the brow
## How do I add a new unit test?
1. Locate and open the file dedicated to the plugin which you need to add tests to (`unit/<plugin-name>.js`).
-2. Review the [QUnit API Documentation](http://api.qunitjs.com/) and use the existing tests as references for how to structure your new tests.
+2. Review the [QUnit API Documentation](https://api.qunitjs.com/) and use the existing tests as references for how to structure your new tests.
3. Write the necessary unit test(s) for the new or revised functionality.
4. Run `grunt test-js` to see the results of your newly-added test(s).
@@ -24,7 +24,7 @@ To run the unit test suite via a real web browser, open `index.html` in the brow
* Each test should have a unique name clearly stating what unit is being tested.
* Each test should test only one unit per test, although one test can include several assertions. Create multiple tests for multiple units of functionality.
-* Each test should begin with [`assert.expect`](http://api.qunitjs.com/expect/) to ensure that the expected assertions are run.
+* Each test should begin with [`assert.expect`](https://api.qunitjs.com/expect/) to ensure that the expected assertions are run.
* Each test should follow the project's [JavaScript Code Guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#js)
### Example tests
diff --git a/js/tests/visual/carousel.html b/js/tests/visual/carousel.html
index dec42c9cb..859ff7504 100644
--- a/js/tests/visual/carousel.html
+++ b/js/tests/visual/carousel.html
@@ -21,13 +21,13 @@
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
- <img alt="First slide" src="http://37.media.tumblr.com/tumblr_m8tay0JcfG1qa42jro1_1280.jpg">
+ <img alt="First slide" src="https://37.media.tumblr.com/tumblr_m8tay0JcfG1qa42jro1_1280.jpg">
</div>
<div class="carousel-item">
- <img alt="Second slide" src="http://37.media.tumblr.com/tumblr_m8tazfiVYJ1qa42jro1_1280.jpg">
+ <img alt="Second slide" src="https://37.media.tumblr.com/tumblr_m8tazfiVYJ1qa42jro1_1280.jpg">
</div>
<div class="carousel-item">
- <img alt="Third slide" src="http://38.media.tumblr.com/tumblr_m8tb2rVsD31qa42jro1_1280.jpg">
+ <img alt="Third slide" src="https://38.media.tumblr.com/tumblr_m8tb2rVsD31qa42jro1_1280.jpg">
</div>
</div>
<a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">